diff --git a/Runtime/UI/Interface.meta b/Runtime/UI/Interface.meta new file mode 100644 index 0000000..f3212af --- /dev/null +++ b/Runtime/UI/Interface.meta @@ -0,0 +1,3 @@ +fileFormatVersion: 2 +guid: 9d9bb294fcaf499299a69cdd86a8163b +timeCreated: 1758179759 \ No newline at end of file diff --git a/Runtime/UI/Interface/IHierarchyControl.cs b/Runtime/UI/Interface/IHierarchyControl.cs new file mode 100644 index 0000000..bf64484 --- /dev/null +++ b/Runtime/UI/Interface/IHierarchyControl.cs @@ -0,0 +1,28 @@ +namespace Deconstruction.UI.Interface +{ + /// + /// 层级控制 + /// + public interface IHierarchyControl + { + /// + /// 设置可见性 + /// + public bool GetActive(); + + /// + /// 设置可见性 + /// + public bool GetActiveInHierarchy(); + + /// + /// 设置可见性 + /// + public void SetActive(bool active); + + /// + /// 设置可见性 + /// + public void SetActiveInHierarchy(bool active); + } +} \ No newline at end of file diff --git a/Runtime/UI/Interface/IHierarchyControl.cs.meta b/Runtime/UI/Interface/IHierarchyControl.cs.meta new file mode 100644 index 0000000..e016ba2 --- /dev/null +++ b/Runtime/UI/Interface/IHierarchyControl.cs.meta @@ -0,0 +1,3 @@ +fileFormatVersion: 2 +guid: 487067e5309b46ad8b1312356751f795 +timeCreated: 1758179860 \ No newline at end of file