summaryrefslogtreecommitdiff
path: root/Assets/Plugins/AdvancedInspector/Attributes/DisplayAsParent.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Assets/Plugins/AdvancedInspector/Attributes/DisplayAsParent.cs')
-rw-r--r--Assets/Plugins/AdvancedInspector/Attributes/DisplayAsParent.cs10
1 files changed, 10 insertions, 0 deletions
diff --git a/Assets/Plugins/AdvancedInspector/Attributes/DisplayAsParent.cs b/Assets/Plugins/AdvancedInspector/Attributes/DisplayAsParent.cs
new file mode 100644
index 00000000..acec32e9
--- /dev/null
+++ b/Assets/Plugins/AdvancedInspector/Attributes/DisplayAsParent.cs
@@ -0,0 +1,10 @@
+using System;
+
+namespace AdvancedInspector
+{
+ /// <summary>
+ /// Prevent a nested object from having to be unfolded.
+ /// </summary>
+ [AttributeUsage(AttributeTargets.Field | AttributeTargets.Property)]
+ public class DisplayAsParentAttribute : Attribute { }
+} \ No newline at end of file