Hi,
I would like to be able to receive OnClick event from some of my gui buttons, in one place.
for example suppose i have this hierarchy:
*GameMenu <-- i want a central script to attach here with OnClick that report what GO was pressed
**Camera
***Anchor
****btnPause <-- what script should i attach here? i tried UIEventListener but it's not fire OnClick
on GameMenu
****btnResume<-- also script attach here
****btnRestart<-- also here
any suggestion?
Thanks