Singularity/Library/PackageCache/com.unity.shadergraph@12.1.11/Editor/AssetCallbacks/CreateShaderGraph.cs

15 lines
408 B
C#
Raw Permalink Normal View History

2024-05-06 14:45:45 -04:00
using UnityEngine;
using UnityEngine.Rendering;
namespace UnityEditor.ShaderGraph
{
static class CreateShaderGraph
{
[MenuItem("Assets/Create/Shader Graph/Blank Shader Graph", priority = CoreUtils.Sections.section1 + CoreUtils.Priorities.assetsCreateShaderMenuPriority)]
public static void CreateBlankShaderGraph()
{
GraphUtil.CreateNewGraph();
}
}
}