summaryrefslogtreecommitdiff
path: root/Assets/ThirdParty/AdvancedInspector/Examples/CSharp/AIExample5_Descriptor.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/AIExample5_Descriptor.cs
parente846c64d6f927879cb8a095e62d773a8d7b3c9f4 (diff)
-advanced inspector 对2018兼容性不太好,改用Odin
Diffstat (limited to 'Assets/ThirdParty/AdvancedInspector/Examples/CSharp/AIExample5_Descriptor.cs')
-rw-r--r--Assets/ThirdParty/AdvancedInspector/Examples/CSharp/AIExample5_Descriptor.cs27
1 files changed, 0 insertions, 27 deletions
diff --git a/Assets/ThirdParty/AdvancedInspector/Examples/CSharp/AIExample5_Descriptor.cs b/Assets/ThirdParty/AdvancedInspector/Examples/CSharp/AIExample5_Descriptor.cs
deleted file mode 100644
index 9641b787..00000000
--- a/Assets/ThirdParty/AdvancedInspector/Examples/CSharp/AIExample5_Descriptor.cs
+++ /dev/null
@@ -1,27 +0,0 @@
-using UnityEngine;
-using System.Collections;
-
-using AdvancedInspector;
-
-[AdvancedInspector]
-public class AIExample5_Descriptor : MonoBehaviour
-{
- // The Descriptor attribute is used to give more information about an item.
- // It can also change the displayed name of the item;
- [Inspect, Descriptor("Variable New Name", "")]
- public float myFloat;
-
- // The second parameter - "Description" - is used as a tooltip in the inspector.
- [Inspect, Descriptor("With Tooltip", "This is the tooltip description")]
- public float myFloat2;
-
- // The third parameter - "URL" - is used as a web info in the inspector.
- // Try right-clicking on this label to see "Online Help".
- [Inspect, Descriptor("With URL", "This is the tooltip description", "http://www.lightstrikersoftware.com/")]
- public float myFloat3;
-
- // The descriptor also contains a RGB value, that is used to tint the item.
- // Because of the limits of attributes, the color has to be passed by floats.
- [Inspect, Descriptor("With Color", "This is the tooltip description", "", 1, 0, 0)]
- public float myFloat4;
-}