Unit Spawn

UnitSpawn

STD Library
Component
Combine:
Level Object
Spawn
Resetable

Instances of the type can be generated on demand

Properties

Name Type Description Script Name
Spawn Count per Wave Int The number of unit bodies that will be generated in each wave SpawnCountPerWave
Wave Count Int How many waves of unit generators will be generated in total WaveCount
Current Wave Int How many waves are currently generated CurrentWave
Wave interval Int (Deprecated, please do not use) WaveInterval_Deprecated
Template Entity entity Which entity will be used as a template for each wave of generation TemplateEntity
Start Spawn Time (s) Float When the units will start generating StartSpawnTime
Is Continuous Bool Whether or not to spawn consecutively, but there will be an upper limit of the same screen IsContinuous
Wave Interval Float The time interval between the next wave and the previous wave. WaveInterval
Template prefab ID Prefab ID The prefabID of the template TemplatePrefabID