What's the best practise for multiple buttons to send their own unique string variable to a single 'FSM manager'? We have a version that works in the unityplayer but not WebGL.
We wanted to create something easy to administer i.e. add more buttons in with minimum effort that doesn't have loads of FSMs. So we did ..
Event Trigger - Pointer Down - PlaymakerFSM.name to set the name of the target 'FSM manager' and then that 'FSM Manager' retrieves it's new name. But like I say, this doesn't work in WebGL and probably isn't the best way to do it either.