spawnCount property

int? spawnCount
getter/setter pair

The amount of components that should be spawned until the SpawnComponent is removed from its parent.

Do note that it is possible to overshoot the spawnCount for one tick if the multiFactory returns more components than expected.

Implementation

int? spawnCount;