Skip to main content

SpawnAsSaveIgnore

A class in Root.Township, the global namespace.

Server: marks the entity's prefab so it is never saved.

Constructors​

MemberWhat it is
SpawnAsSaveIgnore()Unity makes components itself; use AddComponent or spawn a prefab instead of new.

Methods​

MemberWhat it is
override void InitializeAsServer(SpawnData spawnData)Sets the entity's prefab save mode to Ignore.