Class SpawnEntryData

Namespace
TDMaker.Unity.Authoring
Assembly
TDMaker.Unity.dll

A timed run of identical enemies inside a wave group.

public sealed class SpawnEntryData
Inheritance
SpawnEntryData
Inherited Members

Constructors

SpawnEntryData()

public SpawnEntryData()

Fields

alternateEnemy

Optional alternate enemy sharing the same count.

public EnemyAsset alternateEnemy

Field Value

EnemyAsset

count

Number of enemies.

[Min(0)]
public int count

Field Value

int

enemy

Enemy spawned by this entry.

public EnemyAsset enemy

Field Value

EnemyAsset

followingGap

Delay before the next entry in this group starts.

[Min(0)]
public float followingGap

Field Value

float

interval

Seconds between spawns.

[Min(0)]
public float interval

Field Value

float

laneIndex

Fixed lane, or first lane for round-robin.

[Min(0)]
public int laneIndex

Field Value

int

laneSelection

How each enemy picks a sub-lane.

public LaneSelection laneSelection

Field Value

LaneSelection

sameKindLimit

Consecutive spawns before switching to the alternate; zero disables alternation.

[Min(0)]
public int sameKindLimit

Field Value

int

startDelay

Extra delay relative to the group start.

[Min(0)]
public float startDelay

Field Value

float