protected override void OnAddedToScene() { base.OnAddedToScene(); // Auto-activate first camera Scene.AddCamera(this); }
private void _PrepareCameras(Scene scene, SceneActor moveableObject) { foreach (KeyValuePair <String, Camera> cameraInfo in _GetCameras(moveableObject)) { scene.AddCamera(cameraInfo.Key, cameraInfo.Value); } scene.SetCamera("Constant"); }