From d653ff4bc66ec4fdd1f2de3f6829304e80b99247 Mon Sep 17 00:00:00 2001 From: Thomas Hourdel Date: Sat, 18 Nov 2017 03:33:11 +0100 Subject: [PATCH] Menu items --- PostProcessing/Runtime/PostProcessDebug.cs | 1 + PostProcessing/Runtime/PostProcessLayer.cs | 2 +- PostProcessing/Runtime/PostProcessVolume.cs | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/PostProcessing/Runtime/PostProcessDebug.cs b/PostProcessing/Runtime/PostProcessDebug.cs index 1f970792..1a5c6125 100644 --- a/PostProcessing/Runtime/PostProcessDebug.cs +++ b/PostProcessing/Runtime/PostProcessDebug.cs @@ -1,6 +1,7 @@ namespace UnityEngine.Rendering.PostProcessing { [ExecuteInEditMode] + [AddComponentMenu("Rendering/Post-process Debug", 1002)] public sealed class PostProcessDebug : MonoBehaviour { public PostProcessLayer postProcessLayer; diff --git a/PostProcessing/Runtime/PostProcessLayer.cs b/PostProcessing/Runtime/PostProcessLayer.cs index 9b40dbeb..c6ae942e 100644 --- a/PostProcessing/Runtime/PostProcessLayer.cs +++ b/PostProcessing/Runtime/PostProcessLayer.cs @@ -13,7 +13,7 @@ namespace UnityEngine.Rendering.PostProcessing // TODO: XMLDoc everything (?) [DisallowMultipleComponent, ExecuteInEditMode, ImageEffectAllowedInSceneView] - [AddComponentMenu("Rendering/Post-process Layer", -1)] + [AddComponentMenu("Rendering/Post-process Layer", 1000)] [RequireComponent(typeof(Camera))] public sealed class PostProcessLayer : MonoBehaviour { diff --git a/PostProcessing/Runtime/PostProcessVolume.cs b/PostProcessing/Runtime/PostProcessVolume.cs index 83fc2bc5..bed160be 100644 --- a/PostProcessing/Runtime/PostProcessVolume.cs +++ b/PostProcessing/Runtime/PostProcessVolume.cs @@ -52,7 +52,7 @@ namespace UnityEngine.Rendering.PostProcessing // [ExecuteInEditMode] - [AddComponentMenu("Rendering/Post-process Volume", -1)] + [AddComponentMenu("Rendering/Post-process Volume", 1001)] public sealed class PostProcessVolume : MonoBehaviour { // Modifying sharedProfile will change the behavior of all volumes using this profile, and