Unity - Invoke On Click and Pointer Events Using Input

preview_player
Показать описание
This video shows how to invoke onClick and pointerDownHandler with hotkeys using Input.GetKey, Input.GetKeyDown and ExecuteEvents in Unity.

Call a Function from Script Using Button On Click Event:

Call a Function from Script Using Pointer Event:
Рекомендации по теме