Evento
Entity.ValueChange
Scatenato quando su un'entità viene cambiato un valore con <code>:SetValue()</code>
Mostra l'originale in inglese
Triggered when an Entity has a value changed with <code>:SetValue()</code>
Sintassi
Entity.Subscribe("ValueChange", function(self, key, value)
-- il tuo codice
end)
Argomenti
| Nome | Tipo | Predefinito | Descrizione |
|---|---|---|---|
self
|
Entity | — | L'entità su cui è appena cambiato un valore |
key
|
string | — | La chiave usata |
value
|
any | — | Il valore impostato |