Run-and-capture/Assets/Resources/1/MK/MKToon/Editor/Helper/MaterialPropertyDrawer.cs
2021-12-15 16:29:44 +03:00

28 lines
826 B
C#

//////////////////////////////////////////////////////
// MK Toon Editor Material Property Drawer Base //
// //
// Created by Michael Kremmel //
// www.michaelkremmel.de //
// Copyright © 2021 All rights reserved. //
//////////////////////////////////////////////////////
#if UNITY_EDITOR
using UnityEditor;
using UnityEngine;
namespace MK.Toon.Editor
{
internal abstract class MaterialPropertyDrawer : UnityEditor.MaterialPropertyDrawer
{
protected GUIContent _guiContent;
public MaterialPropertyDrawer(GUIContent ui)
{
this._guiContent = ui;
}
public MaterialPropertyDrawer()
{
this._guiContent = GUIContent.none;
}
}
}
#endif