Hi All,
Need help on Broadcast All event.
In my game, I have a wall and if the Hero hits the wall, I want to trigger the Game Over event. I am doing as mentioned below to set this up.
1. I have a trigger on the wall. The trigger has a FSM which checks if the Hero has hit it.
2. If it hits, then I am doing a broadcast all. Lets call it Event-A(its a global event).
3. Then I have a Game Manager, where I am receiving Event-A. There I have few states and doing some processing. After doing all the processing, I do another Broadcast all from Game Manager. Lets call this "Event-Game Over"(Global Event).
4. I want to receive the "Event-Game Over" from all other active FSMs. I want to receive this event from the Hero FSMs also.
All the above mentioned steps are working fine in Editor. But when I deploy my game to Android, it works till Step3. So, at this point looks like on android, "Event-Game Over" is not firing at all.
Do check this, I am printing messages to the screen. I can see the messages till step 3 only. All the messages add to the states of Step4 are not printing on the device.
Please help and let me know if I am doing something wrong.
Regards,
Siloni