From a220320465ba36210ba9b127259219f9154afdc1 Mon Sep 17 00:00:00 2001 From: LiRuoChen <571244399@qq.com> Date: Mon, 20 Oct 2025 13:48:16 +0800 Subject: [PATCH] backup --- Runtime/UI/Interface.meta | 3 ++ Runtime/UI/Interface/IHierarchyControl.cs | 28 +++++++++++++++++++ .../UI/Interface/IHierarchyControl.cs.meta | 3 ++ 3 files changed, 34 insertions(+) create mode 100644 Runtime/UI/Interface.meta create mode 100644 Runtime/UI/Interface/IHierarchyControl.cs create mode 100644 Runtime/UI/Interface/IHierarchyControl.cs.meta 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