//=================================================== 代码自动创建,禁止手动修改 =================================================== 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("SubFrameRoot"); _TextMenuName = GetComponent("MenuName"); _ToggleGroupExMenu = GetComponent("Menu"); } } }