예제 #1
0
 public void Reset()
 {
     this.cameraAnimator.transform.parent = this.adventureSceneRootTransform;
     this.fieldOfViewAnimation            = null;
     this.moveAnimation         = null;
     this.rotationAnimation     = null;
     this.cameraAnimation       = null;
     this.actionCameraAnimation = null;
     if (null != this.cameraAnimator)
     {
         this.cameraAnimator.runtimeAnimatorController = null;
     }
 }
예제 #2
0
 public void SetMove(Vector3 stageLocalPosition, float time)
 {
     this.moveAnimation         = new CameraMoveAnimation(ClassSingleton <AdventureSceneData> .Instance.adventureCamera.camera3D.transform.localPosition, stageLocalPosition, time);
     this.actionCameraAnimation = new Func <bool>(this.moveAnimation.UpdateMove);
 }