Riferimento API di nanos world Documentazione italiana non ufficiale
Documentazione ufficiale
Costruttore Condiviso

Particle.Default Constructor

Sintassi

Lua
Particle(location, rotation, asset, auto_destroy = true, auto_activate = true, spawn_mode = SpawnMode.Immediate)

Parametri

Nome Tipo Predefinito Descrizione
location Vector — —
rotation Rotator — —
asset ParticlePath — —
auto_destroy facoltativo boolean true —
auto_activate facoltativo boolean true —
spawn_mode facoltativo SpawnMode SpawnMode.Immediate Pass <code>SpawnMode.AfterConstructor</code> or <code>SpawnMode.Manual</code> to avoid immediately sending the entity to clients and improve performance when you want to configure it by setting several configs. Must call <code>FinishSpawn()</code> after all