Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Why doesn't LWRPCustomCameraEditor add a label?
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
You can’t perform that action at this time.