public CCSpawnState(CCSpawn action, CCNode target) : base(action, target) { ActionOne = action.ActionOne; ActionTwo = action.ActionTwo; ActionStateOne = (CCFiniteTimeActionState)ActionOne.StartAction(target); ActionStateTwo = (CCFiniteTimeActionState)ActionTwo.StartAction(target); }
public JSpawnState(JSpawn action, GameObject target) : base(action, target) { ActionOne = action.ActionOne; ActionTwo = action.ActionTwo; ActionStateOne = (JFiniteTimeActionState)ActionOne.StartAction(target); ActionStateTwo = (JFiniteTimeActionState)ActionTwo.StartAction(target); }