16 lines
314 B
C#
16 lines
314 B
C#
#if UNITY_EDITOR
|
|
|
|
using UnityEditor;
|
|
|
|
namespace GraphicsCat.MarkupShaderGUIInternal
|
|
{
|
|
public class DrawerBase : MaterialPropertyDrawer
|
|
{
|
|
public override float GetPropertyHeight(MaterialProperty prop, string label, MaterialEditor editor)
|
|
{
|
|
return -2;
|
|
}
|
|
}
|
|
}
|
|
|
|
#endif |