Menu locations

This commit is contained in:
max 2021-03-31 14:45:50 +02:00
parent 50df02b3b0
commit 7a88d5af4c
3 changed files with 2 additions and 4 deletions

View File

@ -5,7 +5,7 @@ using UnityEngine;
namespace TAO.SceneDebugViewer.Editor
{
#if UNITY_EDITOR
[CreateAssetMenu(menuName = "SceneDebugViewer/ReplacementShaderSetup")]
[CreateAssetMenu(menuName = "ReplacementShaderSetup", order = 99999)]
public class ReplacementShaderSetupScriptableObject : ScriptableObject
{
[Header("GUI")]

View File

@ -9,7 +9,7 @@ namespace TAO.SceneDebugViewer.Editor
private static SceneDebugViewerWindow window = null;
private static List<ReplacementShaderSetupScriptableObject> options = new List<ReplacementShaderSetupScriptableObject>();
[MenuItem("Window/SceneDebugViewer")]
[MenuItem("Window/Analysis/SceneDebugViewer")]
static void Init()
{
Load();

View File

@ -41,8 +41,6 @@ Shader "Hidden/RS/TriPlanarUnlit"
fixed4 c = SampleTriPlanar(_RS_Texture, _RS_Texture_ST, i.worldPos, i.normal, _RS_Sharpness);
c *= _RS_Color;
return c;
//return fixed4(abs(i.normal.xyz), 1);
}
ENDCG
}