SpawnAsSaveIgnore
A class in Root.Township, the global namespace.
Server: marks the entity's prefab so it is never saved.
- Listed in Global namespace: S
- Inherits or implements
NetworkEntityBehaviour
Constructors
| Member | What it is |
|---|---|
SpawnAsSaveIgnore() | Unity makes components itself; use AddComponent or spawn a prefab instead of new. |
Methods
| Member | What it is |
|---|---|
override void InitializeAsServer(SpawnData spawnData) | Sets the entity's prefab save mode to Ignore. |