private void Awake() { camera = Camera.main; cameraAnimation = GetComponent <CameraAnimation>(); cameraAnimation.SetContinuingAction(MoveSlowly); cameraAnimation.SetStopAction(MoveToTheTargetPosition); }
private void Awake() { camera = Camera.main; cameraAnimation = GetComponent <CameraAnimation>(); cameraAnimation.SetContinuingAction(MoveSlowly); cameraAnimation.SetStopAction(MoveToTheTargetPosition); }