protected virtual void Awake() { fsm = GetComponent <BehaviourFSM>(); foreach (Transition trans in transitions) { trans.transitionEvent.Initialize(fsm); } }
public virtual void Initialize(BehaviourFSM fsm) { this.fsm = fsm; }
protected virtual void Awake() { fsm = GetComponent <BehaviourFSM>(); foreach (Transition trans in transitions) { trans.transitionEvent.Initialize(fsm); } }
public virtual void Initialize(BehaviourFSM fsm) { this.fsm = fsm; }