63 lines
1.1 KiB
C#
63 lines
1.1 KiB
C#
|
/*-------------------------------------------------------------------------------------
|
||
|
--- 创建人:
|
||
|
--- 描 述:
|
||
|
--- 创建时间: 2023年1月14日
|
||
|
-------------------------------------------------------------------------------------*/
|
||
|
using System.Collections;
|
||
|
using System.Collections.Generic;
|
||
|
using UnityEngine;
|
||
|
using UnityEngine.UI;
|
||
|
using Game;
|
||
|
using TMPro;
|
||
|
using Axibug.Runtime;
|
||
|
|
||
|
namespace Game
|
||
|
{
|
||
|
|
||
|
/// <summary>
|
||
|
/// xx 功能界面
|
||
|
/// </summary>
|
||
|
public class InGameMainMenuUI : UIBase
|
||
|
{
|
||
|
//UIAutoBuild_CtrlDefine
|
||
|
public Transform tfMenuList;
|
||
|
public TextMeshProUGUI tmpVersion;
|
||
|
//UIAutoBuild_CtrlDefine
|
||
|
|
||
|
|
||
|
public override void Awake()
|
||
|
{
|
||
|
//UIAutoBuild_CtrlBind
|
||
|
base.Awake();
|
||
|
Transform tf = transform;
|
||
|
tfMenuList = tf.Find("BG/tfMenuList");
|
||
|
tmpVersion = tf.Find("BG/tmpVersion").GetComponent<TextMeshProUGUI>();
|
||
|
//UIAutoBuild_CtrlBind
|
||
|
}
|
||
|
|
||
|
void OnEnable()
|
||
|
{
|
||
|
//UIAutoBuild_EventReg
|
||
|
//UIAutoBuild_EventReg
|
||
|
}
|
||
|
|
||
|
void OnDisable()
|
||
|
{
|
||
|
//UIAutoBuild_EventUnReg
|
||
|
//UIAutoBuild_EventUnReg
|
||
|
}
|
||
|
|
||
|
void Start()
|
||
|
{
|
||
|
}
|
||
|
|
||
|
// 每次显示都执行, 可定义参数
|
||
|
public override void Show(params object[] _params)
|
||
|
{
|
||
|
base.Show(_params);
|
||
|
|
||
|
}
|
||
|
|
||
|
}
|
||
|
}
|