summaryrefslogtreecommitdiff
path: root/Assets/ThirdParty/AdvancedInspector/Examples/CSharp/AIExample22_DisplayAsParent.cs
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2020-10-15 13:53:27 +0800
committerchai <chaifix@163.com>2020-10-15 13:53:27 +0800
commit6990a0d1fbdcbbf404f40713363ac1a148c8840a (patch)
treecbd92c7a47e12c30cba3300eb349d9c43ce512ab /Assets/ThirdParty/AdvancedInspector/Examples/CSharp/AIExample22_DisplayAsParent.cs
parente846c64d6f927879cb8a095e62d773a8d7b3c9f4 (diff)
-advanced inspector 对2018兼容性不太好,改用Odin
Diffstat (limited to 'Assets/ThirdParty/AdvancedInspector/Examples/CSharp/AIExample22_DisplayAsParent.cs')
-rw-r--r--Assets/ThirdParty/AdvancedInspector/Examples/CSharp/AIExample22_DisplayAsParent.cs23
1 files changed, 0 insertions, 23 deletions
diff --git a/Assets/ThirdParty/AdvancedInspector/Examples/CSharp/AIExample22_DisplayAsParent.cs b/Assets/ThirdParty/AdvancedInspector/Examples/CSharp/AIExample22_DisplayAsParent.cs
deleted file mode 100644
index 02ffca47..00000000
--- a/Assets/ThirdParty/AdvancedInspector/Examples/CSharp/AIExample22_DisplayAsParent.cs
+++ /dev/null
@@ -1,23 +0,0 @@
-using UnityEngine;
-using System;
-using System.Collections;
-
-using AdvancedInspector;
-
-[AdvancedInspector]
-public class AIExample22_DisplayAsParent : MonoBehaviour
-{
- // The DisplayAsParent attribute prevents a sub-object from being expandable
- // Instead it display its inner fields as being part of the parent.
- // This is useful to remove some depth in multi-nested-object.
- // The name of this field remains, but it shows no editor.
- [Inspect, DisplayAsParent]
- public SubObject myObject = new SubObject();
-
- [AdvancedInspector]
- public class SubObject
- {
- [Inspect]
- public float myField;
- }
-}