暫無描述
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.

CreateShaderGraph.cs 408B

1234567891011121314
  1. using UnityEngine;
  2. using UnityEngine.Rendering;
  3. namespace UnityEditor.ShaderGraph
  4. {
  5. static class CreateShaderGraph
  6. {
  7. [MenuItem("Assets/Create/Shader Graph/Blank Shader Graph", priority = CoreUtils.Sections.section1 + CoreUtils.Priorities.assetsCreateShaderMenuPriority)]
  8. public static void CreateBlankShaderGraph()
  9. {
  10. GraphUtil.CreateNewGraph();
  11. }
  12. }
  13. }