Funzione
Veloce
Actor:SetLifeSpan
Imposta il tempo in secondi dopo il quale questo Actor viene distrutto. Trascorso quel tempo, l'Actor viene eliminato automaticamente.
Mostra l'originale in inglese
Sets the time (in seconds) before this Actor is destroyed. After this time has passed, the actor will be automatically destroyed.
Sintassi
my_actor:SetLifeSpan(seconds)
Parametri
| Nome | Tipo | Predefinito | Descrizione |
|---|---|---|---|
seconds
|
float | — | Secondi prima della distruzione |