public void Initialize(FSMController controller) { _controller = controller; if (_action != null) { _action.Initialize(controller); } for (int i = 0; i < _transitions.Count; i++) { _transitions[i].Condition.Initialize(controller); } }
public FSMState(FSMController ctrl) { this.ctrl = ctrl; }
public virtual void Initialize(FSMController controller) { Controller = controller; }