Skip to main content

IStaticGeneration

An interface in Root.Township, the global namespace.

Implemented by scene components that spawn dynamic objects when their parent is generated, such as StaticDynamicSpawner and StaticClusterGenerator.

Methods​

MemberWhat it is
void Generate(NetworkEntity dynamicParent, SpawnData spawnData)Spawns this component's content under the given dynamic parent using the spawn data.
void Reset()Clears generated state, such as editor previews.

Used in​

Members of other types that take, return or hold a IStaticGeneration: