Riferimento API di nanos world Documentazione italiana non ufficiale
Documentazione ufficiale
Funzione statica Client Veloce

Input.Bind

Binds a function to an Input defined using <code>Register</code> or from the game

Non ancora tradotto

Sintassi

Lua
Input.Bind(binding_name, input_event, callback)

Parametri

Nome Tipo Predefinito Descrizione
binding_name string The keybinding id
input_event InputEvent Which event to register (Released/Pressed)
callback function The function to trigger
Firma della callback function(delta?)
  • delta? float