Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: pietwelve on February 14, 2018, 02:40:41 PM
-
Hi,
I can send an Event to an FSM from the OnClic() list of a Unity Button (PlaymakerFSM.SendEvent).
But it only works if the FSM has its default "FSM" name.
If it has a different name it no longer works.
Is there an easy solution (keeping my FSM name;-) ?
(attached screenshots)
Thanks
Have a nice day :-)
-
Hi.
Do you have multiple fsms?
I believe it should work, but only on the top fsm in the inspector,
But i am not sure :)
But you can use the PlayMaker UGui Component Proxy Component.
-
Thanks djaydino, you're right ... in my new test it works ... I'm confused because on previous case it didn't...
If I find out what make it work or not , i will post here so others can benefit from the reading.
-
Hi.
Probably because there was an fsm above that one,
Anyway if you need to send events to multiple fsms on 1 object you can use the proxy :)