26 lines
804 B
C#
26 lines
804 B
C#
//=================================================== 代码自动创建,禁止手动修改 ===================================================
|
|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
using UnityEngine.UI;
|
|
using TMPro;
|
|
|
|
namespace Ether
|
|
{
|
|
public class MenuFrameBase : FrameBase
|
|
{
|
|
public override string PrefabPath { get; } = "Prefabs/Frames/Menu/MenuFrame";
|
|
protected Transform _TransSubFrameRoot;
|
|
protected TextMeshProUGUI _TextMenuName;
|
|
protected ToggleGroupEx _ToggleGroupExMenu;
|
|
|
|
protected override void OnInit()
|
|
{
|
|
_TransSubFrameRoot = GetComponent<Transform>("<Trans>SubFrameRoot");
|
|
_TextMenuName = GetComponent<TextMeshProUGUI>("<Text>MenuName");
|
|
_ToggleGroupExMenu = GetComponent<ToggleGroupEx>("<ToggleGroupEx>Menu");
|
|
|
|
}
|
|
}
|
|
}
|