Progetto H — Riferimento API Documentazione & Scripting
Enumerazioni Solo bleeding edge

SpawnMode

Used when spawning Entities to control when they finish spawning and are sent to clients, so several configs can be set at once without wasting networking and performance on partially spawned Entities

Non ancora tradotto

3 valori

Nome Valore Descrizione
SpawnMode.Immediate 0 Finishes spawning right away when calling the constructor
SpawnMode.AfterConstructor 1 Keeps the spawn deferred. An Inherited Class finishes it automatically when its Constructor returns, otherwise it behaves like <code>SpawnMode.Manual</code> for non-inherited classes
SpawnMode.Manual 2 Keeps the spawn deferred until you call <code>FinishSpawn()</code> yourself