summaryrefslogtreecommitdiff
path: root/Assets/Art/BOXOPHOBIC/Utils/Editor/StyledInspector/StyledButtonDrawer.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Assets/Art/BOXOPHOBIC/Utils/Editor/StyledInspector/StyledButtonDrawer.cs')
-rw-r--r--Assets/Art/BOXOPHOBIC/Utils/Editor/StyledInspector/StyledButtonDrawer.cs33
1 files changed, 0 insertions, 33 deletions
diff --git a/Assets/Art/BOXOPHOBIC/Utils/Editor/StyledInspector/StyledButtonDrawer.cs b/Assets/Art/BOXOPHOBIC/Utils/Editor/StyledInspector/StyledButtonDrawer.cs
deleted file mode 100644
index 7814d2cc..00000000
--- a/Assets/Art/BOXOPHOBIC/Utils/Editor/StyledInspector/StyledButtonDrawer.cs
+++ /dev/null
@@ -1,33 +0,0 @@
-// Cristian Pop - https://boxophobic.com/
-
-using UnityEngine;
-using UnityEditor;
-
-namespace Boxophobic.StyledGUI
-{
- [CustomPropertyDrawer(typeof(StyledButton))]
- public class StyledButtonAttributeDrawer : PropertyDrawer
- {
- StyledButton a;
-
- public override void OnGUI(Rect position, SerializedProperty property, GUIContent label)
- {
- a = (StyledButton)attribute;
-
- GUILayout.Space(a.Top);
-
- if (GUILayout.Button(a.Text))
- {
- property.boolValue = true;
- }
-
- GUILayout.Space(a.Down);
- }
-
- public override float GetPropertyHeight(SerializedProperty property, GUIContent label)
- {
- return -2;
- }
- }
-}
-