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); }
public MoveTransition(BallViewState state) : base(state) { }
public FinishedAnimationTransition(BallViewState state) : base(state) { }
public MoveAfterAnimationTransition(BallViewState state, Vector3 moveTarget) : base(state) { this.moveTarget = moveTarget; }
public ReturnToIdleTransition(BallViewState state) : base(state) { }
public CompletedTransition(BallViewState state) : base(state) { }
public UnCompletingTransition(BallViewState state) : base(state) { }