summaryrefslogtreecommitdiff
path: root/Assets/Art/BOXOPHOBIC/Utils/Editor/StyledMaterial/StyledIndentDrawer.cs
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2021-09-08 10:54:48 +0800
committerchai <chaifix@163.com>2021-09-08 10:54:48 +0800
commit55d289f8eff1af2d2a2ff02c878faa354dcf6c91 (patch)
treec418766269107da419d99e52489da652f9233252 /Assets/Art/BOXOPHOBIC/Utils/Editor/StyledMaterial/StyledIndentDrawer.cs
parent21e186f75b504d832d9c7bef0456edd7d5d3155e (diff)
*move directory
Diffstat (limited to 'Assets/Art/BOXOPHOBIC/Utils/Editor/StyledMaterial/StyledIndentDrawer.cs')
-rw-r--r--Assets/Art/BOXOPHOBIC/Utils/Editor/StyledMaterial/StyledIndentDrawer.cs30
1 files changed, 0 insertions, 30 deletions
diff --git a/Assets/Art/BOXOPHOBIC/Utils/Editor/StyledMaterial/StyledIndentDrawer.cs b/Assets/Art/BOXOPHOBIC/Utils/Editor/StyledMaterial/StyledIndentDrawer.cs
deleted file mode 100644
index 0905c5a0..00000000
--- a/Assets/Art/BOXOPHOBIC/Utils/Editor/StyledMaterial/StyledIndentDrawer.cs
+++ /dev/null
@@ -1,30 +0,0 @@
-// Cristian Pop - https://boxophobic.com/
-
-using UnityEngine;
-using UnityEditor;
-using System;
-
-namespace Boxophobic.StyledGUI
-{
- public class StyledIndentDrawer : MaterialPropertyDrawer
- {
- public float indent;
-
- public StyledIndentDrawer(float indent)
- {
- this.indent = indent;
- }
-
- public override void OnGUI(Rect position, MaterialProperty prop, String label, MaterialEditor materialEditor)
- {
- //Material material = materialEditor.target as Material;
-
- EditorGUI.indentLevel = (int)indent;
- }
-
- public override float GetPropertyHeight(MaterialProperty prop, string label, MaterialEditor editor)
- {
- return -2;
- }
- }
-} \ No newline at end of file