diff options
Diffstat (limited to 'Assets/ThirdParty/AdvancedInspector/Examples/CSharp/AIExample35_ToString.cs')
-rw-r--r-- | Assets/ThirdParty/AdvancedInspector/Examples/CSharp/AIExample35_ToString.cs | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/Assets/ThirdParty/AdvancedInspector/Examples/CSharp/AIExample35_ToString.cs b/Assets/ThirdParty/AdvancedInspector/Examples/CSharp/AIExample35_ToString.cs deleted file mode 100644 index 6ab519b4..00000000 --- a/Assets/ThirdParty/AdvancedInspector/Examples/CSharp/AIExample35_ToString.cs +++ /dev/null @@ -1,27 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; - -using UnityEngine; -using AdvancedInspector; - -[AdvancedInspector] -public class AIExample35_ToString : MonoBehaviour -{ - [Inspect] - public Nested[] collection; - - [Serializable] - public class Nested - { - [Inspect] - public string name; - - // When overriding ToString, the AdvancedInspector display that string on the right side of the item when there is no picker. - public override string ToString() - { - return name; - } - } -} |