public void OnCommandActivate(CommandContext context) { CameraManager.activeCamera = this; CameraManager.UpdateCameras(); SceneLightManager.Activate(sceneName); if (cameraActivated == false) { if (definedName == "cam1" || definedName == "cam2") { manager.LaunchFoxStartup(); cameraActivated = true; } } }
private void Start() { SceneLightManager.Add(this); }