1 messages · Page 1 of 1 (latest)
I'm not talking about just triggering the onClick event, I'm talking about actually simulating the click of a button without actually clicking it. Some buttons in my game have scripts with functions subscribed to the button actions so just triggering the onClick wouldn't work.
Invoking the onClick event will call the listeners subscribed to it