예제 #1
0
        public override void action(MoveCommand evt)
        {
#if !UNITY_WP_8_1
            Assert.IsTrue(myState.GetType().IsSubclassOf(typeof(BallViewState)));
#endif
            BallViewState state = (BallViewState)myState;
            new MoveAfterAnimationTransition(state, evt.target);
        }
예제 #2
0
 public MoveTransition(BallViewState state) : base(state)
 {
 }
예제 #3
0
 public FinishedAnimationTransition(BallViewState state) : base(state)
 {
 }
예제 #4
0
 public MoveAfterAnimationTransition(BallViewState state, Vector3 moveTarget) : base(state)
 {
     this.moveTarget = moveTarget;
 }
예제 #5
0
 public ReturnToIdleTransition(BallViewState state) : base(state)
 {
 }
예제 #6
0
 public CompletedTransition(BallViewState state) : base(state)
 {
 }
예제 #7
0
 public UnCompletingTransition(BallViewState state) : base(state)
 {
 }