diff options
author | chai <chaifix@163.com> | 2020-10-15 19:05:22 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2020-10-15 19:05:22 +0800 |
commit | f049177e20a276049c61edbad631c1b2bbdd5706 (patch) | |
tree | 7d1a1cd9b690a5d9a8b9a65554a191d6ec769601 /Assets/Plugins/AdvancedInspector/Attributes/CreateDerived.cs | |
parent | 6990a0d1fbdcbbf404f40713363ac1a148c8840a (diff) |
-advanced inspector
+odin
Diffstat (limited to 'Assets/Plugins/AdvancedInspector/Attributes/CreateDerived.cs')
-rw-r--r-- | Assets/Plugins/AdvancedInspector/Attributes/CreateDerived.cs | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/Assets/Plugins/AdvancedInspector/Attributes/CreateDerived.cs b/Assets/Plugins/AdvancedInspector/Attributes/CreateDerived.cs deleted file mode 100644 index 3fac45f8..00000000 --- a/Assets/Plugins/AdvancedInspector/Attributes/CreateDerived.cs +++ /dev/null @@ -1,15 +0,0 @@ -using System; - -namespace AdvancedInspector -{ - /// <summary> - /// Define an exposed property that act as a object creator. - /// The field gives the user the choices of all type deriving from that property type. - /// In the case of a generic List, it offers way to add object in the list. - /// If the list is of a value type (Ex.: int), it automaticly create an entry with the default value of that type. - /// Field/Property's type sporting this attribute should derive from ComponentMonoBehaviour! - /// Otherwise, Unity's serialization will kill the polymorphism involved. - /// </summary> - [AttributeUsage(AttributeTargets.Field | AttributeTargets.Property)] - public class CreateDerivedAttribute : Attribute, IListAttribute { } -}
\ No newline at end of file |