2024-10-27 04:03:15 +08:00
|
|
|
//=================================================== 代码自动创建,禁止手动修改 ===================================================
|
|
|
|
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";
|
2024-10-28 01:06:41 +08:00
|
|
|
protected Transform _TransSubFrameRoot;
|
|
|
|
protected TextMeshProUGUI _TextMenuName;
|
|
|
|
protected ToggleGroupEx _ToggleGroupExMenu;
|
2024-10-27 04:03:15 +08:00
|
|
|
|
|
|
|
protected override void OnInit()
|
|
|
|
{
|
2024-10-28 01:06:41 +08:00
|
|
|
_TransSubFrameRoot = GetComponent<Transform>("<Trans>SubFrameRoot");
|
|
|
|
_TextMenuName = GetComponent<TextMeshProUGUI>("<Text>MenuName");
|
|
|
|
_ToggleGroupExMenu = GetComponent<ToggleGroupEx>("<ToggleGroupEx>Menu");
|
2024-10-27 04:03:15 +08:00
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|