Enums
Bleeding edge only
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
3 values
| Name | Value | Description |
|---|---|---|
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 |