Rasagar/Library/PackageCache/com.unity.shadergraph/Editor/AssetCallbacks/CreateShaderGraph.cs
2024-08-26 23:07:20 +03:00

15 lines
408 B
C#

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();
}
}
}