void SetupFsmStates(HutongGames.PlayMaker.FsmState state) { for (var j = 0; j < state.Actions.Length; j++) { var action = state.Actions[j]; if (action is IAbility) { var ab = (IAbility)action; _abilities.Add(ab); ab.Init(this); } } }
public void CopyActionData(FsmState state) { actionData = state.actionData.Copy(); }