public MTParallelState(MTParallel action, GameObject target) : base(action, target) { Actions = action.Actions; ActionStates = new MTFiniteTimeActionState[Actions.Length]; for (int i = 0; i < Actions.Length; i++) { ActionStates [i] = (MTFiniteTimeActionState)Actions [i].StartAction (target); } }
public MTParallelState(MTParallel action, GameObject target) : base(action, target) { Actions = action.Actions; ActionStates = new MTFiniteTimeActionState[Actions.Length]; for (int i = 0; i < Actions.Length; i++) { ActionStates [i] = (MTFiniteTimeActionState)Actions [i].StartAction(target); } }