using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UIElements; /// /// UI面板单元 /// public abstract class UnitUIPanel : MonoBehaviour { /// 绑定的页面 public ModuleUIPage ModuleUIPage; /// 必须初始化 protected abstract void Awake(); /// 核心模块 protected virtual ModuleCore ModuleCore => ModuleCore.I; public abstract VisualElement Element { get; } }