using System; using UnityEngine; using UnityEngine.UI; using QFramework; namespace QFramework.MREditor { // Generate Id:9da210af-ac61-4795-9114-ce6a4baa8af3 public partial class EditorPanel { public const string Name = "EditorPanel"; [SerializeField] public MaterialBtn MaterialBtn; [SerializeField] public SingleMaterial SingleMaterial; [SerializeField] public SpoitBtn SpoitBtn; [SerializeField] public UIEditor UIEditor; [SerializeField] public UIAddMaterial UIAddMaterial; [SerializeField] public UIMaterials UIMaterials; [SerializeField] public UISpoits UISpoits; private EditorPanelData mPrivateData = null; protected override void ClearUIComponents() { MaterialBtn = null; SingleMaterial = null; SpoitBtn = null; UIEditor = null; UIAddMaterial = null; UIMaterials = null; UISpoits = null; mData = null; } public EditorPanelData Data { get { return mData; } } EditorPanelData mData { get { return mPrivateData ?? (mPrivateData = new EditorPanelData()); } set { mUIData = value; mPrivateData = value; } } } }