IndieGame/client/Scripts/AutoGenerated/FrameBase/LoginFrameBase.cs

30 lines
1.0 KiB
C#
Raw Normal View History

2024-10-24 23:44:04 +08:00
//=================================================== 代码自动创建,禁止手动修改 ===================================================
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");
$
}
}
}