12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- 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;
- }
- }
- }
- }
|