rabidus-test/Assets/Amazing Assets/Advanced Dissolve/Editor/Material Editors/Shader Graph/ShaderGraphUnlitGUI.cs

19 lines
744 B
C#

namespace UnityEditor
{
class AdvancedDissolve_ShaderGraphUnlitGUI : ShaderGUI
{
public override void OnGUI(UnityEditor.MaterialEditor materialEditor, MaterialProperty[] properties)
{
if (AmazingAssets.AdvancedDissolveEditor.AdvancedDissolveMaterialProperties.DrawDefaultOptionsHeader("Exposed Properties", null))
base.OnGUI(materialEditor, properties);
//AmazingAssets
AmazingAssets.AdvancedDissolveEditor.AdvancedDissolveMaterialProperties.Init(properties);
//AmazingAssets
AmazingAssets.AdvancedDissolveEditor.AdvancedDissolveMaterialProperties.DrawDissolveOptions(true, materialEditor, true, true, false, false, true);
}
}
}