|
|
|
|
|
|
#if UNITY_EDITOR
|
|
|
|
private LightweightPipelineEditorResources m_EditorResourcesAsset; |
|
|
|
|
|
|
|
[MenuItem("Assets/Create/Rendering/Lightweight Pipeline Asset", priority = CoreUtils.assetCreateMenuPriority1)] |
|
|
|
[MenuItem("Assets/Create/Graphics/Lightweight Pipeline Asset", priority = CoreUtils.assetCreateMenuPriority1)] |
|
|
|
static void CreateLightweightPipeline() |
|
|
|
{ |
|
|
|
ProjectWindowUtil.StartNameEditingIfProjectWindowExists(0, CreateInstance<CreateLightweightPipelineAsset>(), |
|
|
|
|
|
|
|
|
|
|
//[MenuItem("Assets/Create/Rendering/Lightweight Pipeline Resources", priority = CoreUtils.assetCreateMenuPriority1)]
|
|
|
|
//[MenuItem("Assets/Create/Graphics/Lightweight Pipeline Resources", priority = CoreUtils.assetCreateMenuPriority1)]
|
|
|
|
static void CreateLightweightPipelineResources() |
|
|
|
{ |
|
|
|
var instance = CreateInstance<LightweightPipelineResources>(); |
|
|
|
|
|
|
//[MenuItem("Assets/Create/Rendering/Lightweight Pipeline Editor Resources", priority = CoreUtils.assetCreateMenuPriority1)]
|
|
|
|
//[MenuItem("Assets/Create/Graphics/Lightweight Pipeline Editor Resources", priority = CoreUtils.assetCreateMenuPriority1)]
|
|
|
|
static void CreateLightweightPipelineEditorResources() |
|
|
|
{ |
|
|
|
var instance = CreateInstance<LightweightPipelineEditorResources>(); |
|
|
|