public override void OnLogicFinished(StateMachineComponent stateMachine) { CinematicCameraMixer camera = _camera.GetComponent(); CinematicCameraShot cameraShot = _shot.GetComponent(); if (camera != null && cameraShot != null) { camera.StopCameraShot(cameraShot); } }
public void End(StateMachineComponent stateMachine) { CinematicCameraMixer camera = _camera.GetComponent(); CinematicCameraShot cameraShot = _shot.GetComponent(); if (camera != null && cameraShot != null) { camera.StopCameraShot(cameraShot); } }