Created
November 16, 2018 03:48
-
-
Save bitinn/58bc53c9b567cdd3f27318756b78189d to your computer and use it in GitHub Desktop.
Why doesn't LWRPCustomCameraEditor add a label?
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
using UnityEditor; | |
using UnityEngine.Experimental.Rendering.LightweightPipeline; | |
using UnityEditor.Experimental.Rendering.LightweightPipeline; | |
//[CustomEditor(typeof(Camera))] | |
[CustomEditorForRenderPipeline(typeof(Camera), typeof(LightweightRenderPipelineAsset))] | |
//public class LWRPCustomCameraEditor : Editor { | |
public class LWRPCustomCameraEditor : CameraEditor { | |
public override void OnInspectorGUI () { | |
base.OnInspectorGUI(); | |
GUILayout.Label("test"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment