Sends an event when a UI Button is clicked.
Game Object
The GameObject with the UI Button component.
Event Target
Where to send the event.
Send Event
Send this event when Clicked.
NOTE: Use this when the Button is on a different GameObject than the FSM. If the FSM is on the same GameObject as the Button you can just use the UI CLICK system event.