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

19 lines
741 B
C#
Raw Normal View History

2023-09-18 20:09:22 +03:00
namespace UnityEditor
{
class AdvancedDissolve_ShaderGraphLitGUI : 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, true, true);
}
}
}