30 lines
1.0 KiB
C#
30 lines
1.0 KiB
C#
|
//=================================================== 代码自动创建,禁止手动修改 ===================================================
|
||
|
using System.Collections;
|
||
|
using System.Collections.Generic;
|
||
|
using UnityEngine;
|
||
|
using UnityEngine.UI;
|
||
|
using TMPro;
|
||
|
|
||
|
namespace Ether
|
||
|
{
|
||
|
public class LoginFrameBase : FrameBase
|
||
|
{
|
||
|
public override string PrefabPath { get; } = "Prefabs/Frames/Login/LoginFrame";
|
||
|
$protected ButtonEx _BtnExContinuGame;
|
||
|
protected TextMeshProUGUI _TextContinuGame;
|
||
|
protected ButtonEx _BtnExStartGame;
|
||
|
protected ButtonEx _BtnExSetting;
|
||
|
protected ButtonEx _BtnExExit;
|
||
|
$
|
||
|
protected override void OnInit()
|
||
|
{
|
||
|
$_BtnExContinuGame = GetComponent<ButtonEx>("BtnList/<BtnEx><Text>ContinuGame");
|
||
|
_TextContinuGame = GetComponent<TextMeshProUGUI>("BtnList/<BtnEx><Text>ContinuGame");
|
||
|
_BtnExStartGame = GetComponent<ButtonEx>("BtnList/<BtnEx>StartGame");
|
||
|
_BtnExSetting = GetComponent<ButtonEx>("BtnList/<BtnEx>Setting");
|
||
|
_BtnExExit = GetComponent<ButtonEx>("BtnList/<BtnEx>Exit");
|
||
|
$
|
||
|
}
|
||
|
}
|
||
|
}
|