diff options
author | chai <chaifix@163.com> | 2021-07-29 18:47:06 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2021-07-29 18:47:06 +0800 |
commit | 567fc2da0b5367cbbe59ea5fb3596802c2aa7a43 (patch) | |
tree | 1555e0e6bd28c415e4c517394bad6c23258e6bbc /Assets/Scripts/Utils/DisallowModifiyInGUI.cs | |
parent | cf08ddbdb8f2a353188d2df16df47f49ac2b414f (diff) |
+collider editor
Diffstat (limited to 'Assets/Scripts/Utils/DisallowModifiyInGUI.cs')
-rw-r--r-- | Assets/Scripts/Utils/DisallowModifiyInGUI.cs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Assets/Scripts/Utils/DisallowModifiyInGUI.cs b/Assets/Scripts/Utils/DisallowModifiyInGUI.cs new file mode 100644 index 00000000..660d2f0e --- /dev/null +++ b/Assets/Scripts/Utils/DisallowModifiyInGUI.cs @@ -0,0 +1,9 @@ +using System;
+using System.Collections;
+using System.Collections.Generic;
+using UnityEngine;
+
+// 有这个标记时表示这个属性是GUI.enabled = false
+public class DisallowModifiyInGUI : Attribute
+{
+}
|