9092858a58
I updated everything to the latest Unity Editor. Also realized I had the wrong shaders on my hairs, those are fixed and the hairs look MUCH better!
18 lines
713 B
C#
18 lines
713 B
C#
using UnityEditor.Rendering.Universal.Internal;
|
|
using UnityEngine.Rendering;
|
|
|
|
namespace UnityEditor.Rendering.Universal
|
|
{
|
|
internal static class NewRendererFeatureDropdownItem
|
|
{
|
|
static readonly string defaultNewClassName = "CustomRenderPassFeature.cs";
|
|
|
|
[MenuItem("Assets/Create/Rendering/URP Renderer Feature", priority = CoreUtils.Sections.section3 + CoreUtils.Priorities.assetsCreateRenderingMenuPriority)]
|
|
internal static void CreateNewRendererFeature()
|
|
{
|
|
string templatePath = AssetDatabase.GUIDToAssetPath(ResourceGuid.rendererTemplate);
|
|
ProjectWindowUtil.CreateScriptAssetFromTemplateFile(templatePath, defaultNewClassName);
|
|
}
|
|
}
|
|
}
|