Skip to content

Instantly share code, notes, and snippets.

@bitinn
Created November 16, 2018 03:48
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
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