Files
TowerDefence/My project/Library/PackageCache/com.unity.shadergraph@c7cb9a0feac2/Editor/ShaderGUI/GenericShaderGraphMaterialGUI.cs
Caleb Sandford deQuincey 334021d04e Started project
2025-11-14 17:30:41 +00:00

17 lines
516 B
C#

using System;
using UnityEditor.ShaderGraph.Drawing;
using UnityEngine;
using UnityEditor;
namespace UnityEditor.ShaderGraph
{
// Used by the Material Inspector to draw UI for shader graph based materials, when no custom Editor GUI has been specified
class GenericShaderGraphMaterialGUI : ShaderGUI
{
public override void OnGUI(MaterialEditor materialEditor, MaterialProperty[] props)
{
ShaderGraphPropertyDrawers.DrawShaderGraphGUI(materialEditor, props);
}
}
}