예제 #1
0
        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);
            }
        }
예제 #2
0
        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);
            }
        }