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

19 lines
744 B
C#
Raw Normal View History

2023-09-18 20:09:22 +03:00
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);
}
}
}