35 lines
873 B
C#
35 lines
873 B
C#
using Sirenix.OdinInspector;
|
|
using Sirenix.OdinInspector.Editor;
|
|
using UnityEngine;
|
|
|
|
namespace UguiToolkit.Editor.Windows
|
|
{
|
|
public class EditWindow : BaseWindow<EditWindow>
|
|
{
|
|
[SerializeField, HideInInspector]
|
|
private bool m_showHierarchyOfEntityChange = false;
|
|
|
|
[LabelText("实例Hierarchy是否显示"), ShowInInspector]
|
|
public bool ShowHierarchyOfEntity
|
|
{
|
|
get => m_showHierarchyOfEntityChange;
|
|
set
|
|
{
|
|
m_showHierarchyOfEntityChange = value;
|
|
|
|
GlobalManager.Instance.showHierarchyOfEntityChanged?.Invoke(m_showHierarchyOfEntityChange);
|
|
}
|
|
}
|
|
|
|
public override string GettitleContent()
|
|
{
|
|
return "助手编辑界面";
|
|
}
|
|
|
|
public override void Init(WindowArgs args = null)
|
|
{
|
|
|
|
}
|
|
}
|
|
}
|