CreateSpriteLitShaderGraph.cs 373 B

12345678910111213
  1. using UnityEditor.ShaderGraph;
  2. namespace UnityEditor.Experimental.Rendering.Universal
  3. {
  4. class CreateSpriteLitShaderGraph
  5. {
  6. [MenuItem("Assets/Create/Shader/2D Renderer/Sprite Lit Graph (Experimental)", false, 208)]
  7. public static void CreateMaterialGraph()
  8. {
  9. GraphUtil.CreateNewGraph(new SpriteLitMasterNode());
  10. }
  11. }
  12. }