Funzione statica
Veloce
Input.Subscribe
Subscribes to an Event
Non ancora tradotto
Sintassi
Input.Subscribe(event_name, callback)
Parametri
| Nome | Tipo | Predefinito | Descrizione |
|---|---|---|---|
event_name
|
string | — | Event to subscribe to |
callback
|
function | — | Callback to run on the event occurring |
Valore restituito
- function The function callback