Ahoy!
Long story, but I'm out of options. Tried lots of things and C# will not bend to my will. I really cannot code.
Now, I know I can BroadcastEvent, and it does work, but it's not the preferred solution.
Can someone please help me send my event to a specific FSM?
Cheers!
public GameObject Number;
public GameObject Playmaker;
private PlayMakerFSM fsm;
private void OnTriggerEnter()
{
string numberName = Number.name;
if (fsm == null)
{
Playmaker = Playmaker.GetComponent<PlayMakerFSM>();
fsm.SendEvent(numberName);
}