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