Files
CartoonFPS/Library/PackageCache/com.unity.shadergraph@052d95cfe62a/Editor/ShaderGUI/GenericShaderGraphMaterialGUI.cs

17 lines
516 B
C#
Raw Normal View History

2025-08-05 09:30:40 +01:00
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);
}
}
}