Ejemplo n.º 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;
     }
 }
Ejemplo n.º 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);
 }