summaryrefslogtreecommitdiff
path: root/Library/PackageCache/com.unity.textmeshpro@2.0.1/Scripts/Editor/TMP_DropdownEditor.cs
diff options
context:
space:
mode:
authorAndrew Lee <alee14498@protonmail.com>2020-08-20 23:40:50 -0400
committerAndrew Lee <alee14498@protonmail.com>2020-08-20 23:40:50 -0400
commit3af4c218c0e70167db23a6303d2af30aff37d2fe (patch)
tree927f29edcf54ab562f40f3d1c6cb69287c7f5980 /Library/PackageCache/com.unity.textmeshpro@2.0.1/Scripts/Editor/TMP_DropdownEditor.cs
parentb6daed0af784f4e9bc13329dd87c671b06ee1c65 (diff)
downloadProject-Sandbox-3af4c218c0e70167db23a6303d2af30aff37d2fe.tar.gz
Project-Sandbox-3af4c218c0e70167db23a6303d2af30aff37d2fe.tar.bz2
Project-Sandbox-3af4c218c0e70167db23a6303d2af30aff37d2fe.zip
Removed a bunch of stuff; Changes
Diffstat (limited to 'Library/PackageCache/com.unity.textmeshpro@2.0.1/Scripts/Editor/TMP_DropdownEditor.cs')
-rw-r--r--Library/PackageCache/com.unity.textmeshpro@2.0.1/Scripts/Editor/TMP_DropdownEditor.cs51
1 files changed, 0 insertions, 51 deletions
diff --git a/Library/PackageCache/com.unity.textmeshpro@2.0.1/Scripts/Editor/TMP_DropdownEditor.cs b/Library/PackageCache/com.unity.textmeshpro@2.0.1/Scripts/Editor/TMP_DropdownEditor.cs
deleted file mode 100644
index 60406aa..0000000
--- a/Library/PackageCache/com.unity.textmeshpro@2.0.1/Scripts/Editor/TMP_DropdownEditor.cs
+++ /dev/null
@@ -1,51 +0,0 @@
-using UnityEngine;
-using UnityEditor;
-using UnityEditor.UI;
-using UnityEngine.UI;
-
-namespace TMPro.EditorUtilities
-{
- [CustomEditor(typeof(TMP_Dropdown), true)]
- [CanEditMultipleObjects]
- public class DropdownEditor : SelectableEditor
- {
- SerializedProperty m_Template;
- SerializedProperty m_CaptionText;
- SerializedProperty m_CaptionImage;
- SerializedProperty m_ItemText;
- SerializedProperty m_ItemImage;
- SerializedProperty m_OnSelectionChanged;
- SerializedProperty m_Value;
- SerializedProperty m_Options;
-
- protected override void OnEnable()
- {
- base.OnEnable();
- m_Template = serializedObject.FindProperty("m_Template");
- m_CaptionText = serializedObject.FindProperty("m_CaptionText");
- m_CaptionImage = serializedObject.FindProperty("m_CaptionImage");
- m_ItemText = serializedObject.FindProperty("m_ItemText");
- m_ItemImage = serializedObject.FindProperty("m_ItemImage");
- m_OnSelectionChanged = serializedObject.FindProperty("m_OnValueChanged");
- m_Value = serializedObject.FindProperty("m_Value");
- m_Options = serializedObject.FindProperty("m_Options");
- }
-
- public override void OnInspectorGUI()
- {
- base.OnInspectorGUI();
- EditorGUILayout.Space();
-
- serializedObject.Update();
- EditorGUILayout.PropertyField(m_Template);
- EditorGUILayout.PropertyField(m_CaptionText);
- EditorGUILayout.PropertyField(m_CaptionImage);
- EditorGUILayout.PropertyField(m_ItemText);
- EditorGUILayout.PropertyField(m_ItemImage);
- EditorGUILayout.PropertyField(m_Value);
- EditorGUILayout.PropertyField(m_Options);
- EditorGUILayout.PropertyField(m_OnSelectionChanged);
- serializedObject.ApplyModifiedProperties();
- }
- }
-} \ No newline at end of file