No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

GenericShaderGraphMaterialGUI.cs 516B

12345678910111213141516
  1. using System;
  2. using UnityEditor.ShaderGraph.Drawing;
  3. using UnityEngine;
  4. using UnityEditor;
  5. namespace UnityEditor.ShaderGraph
  6. {
  7. // Used by the Material Inspector to draw UI for shader graph based materials, when no custom Editor GUI has been specified
  8. class GenericShaderGraphMaterialGUI : ShaderGUI
  9. {
  10. public override void OnGUI(MaterialEditor materialEditor, MaterialProperty[] props)
  11. {
  12. ShaderGraphPropertyDrawers.DrawShaderGraphGUI(materialEditor, props);
  13. }
  14. }
  15. }