Evento
Input.KeyPress
A keyboard key has been pressed
Non ancora tradotto
Sintassi
Input.Subscribe("KeyPress", function(key_name, delta)
-- il tuo codice
end)
Argomenti
| Nome | Tipo | Predefinito | Descrizione |
|---|---|---|---|
key_name
|
string | — | The key pressed |
delta
facoltativo
|
float? | — | The amount depressed in case of this is an Axis input |
Valore restituito
- boolean Return false to block it