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