mirror of
https://github.com/maxartz15/SceneDebugViewer.git
synced 2024-11-21 11:05:35 +01:00
Menu locations
This commit is contained in:
parent
50df02b3b0
commit
7a88d5af4c
@ -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")]
|
||||
|
@ -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();
|
||||
|
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user