protected override void InitializeCore() { base.InitializeCore(); // TODO: restrict to forward mode only for now if (SceneCameraRenderer == null) { return; } var forwardMode = SceneCameraRenderer.Mode as CameraRendererModeForward; if (forwardMode != null) { lightComponentForwardRenderer = ToLoadAndUnload(new LightComponentForwardRenderer()); } }