Hello, team
As the subject says, I would like to know how can I retrieve the list of FsmEvent(s) associated to the current FsmState.
Something similar to this but specific for the active state (this one lists ALL events associated to the FSM):
GameObject go = Fsm.GetOwnerDefaultTarget (gameObject);
fsm = go.GetComponentInChildren <PlayMakerFSM> ();
foreach (FsmEvent fsmEvent in fsm.Fsm.Events) {
Debug.Log ("fsmEvent = " + fsmEvent.Name);
}
Thanks a lot in advance,
José