// Update called every frame action is active public override bool Update() { // If camera isn't moving then end the action if (!splineController.isMoving()) { actionRunning_ = false; } // Also end action if the camera movement is set to loop in the background if (loopingMovement_) { actionRunning_ = false; } return(actionRunning_); }
// Update is called once per frame void Update() { // Only allow user movement when the camera isn't moving between scenes if (StateManager.stateManager.CurrentState() == GAMESTATE.STAGEONE && !cameraController_.IsMoving() && !splineController_.isMoving()) { HandleZoomInput(); HandlePositionScrolling(); } }