Class EnemyDeathSpawnEntry
- Namespace
- SurvivorsMaker.Data
- Assembly
- SurvivorsMaker.Data.dll
Enemy-asset reference, count and placement radius used for death spawning.
public sealed class EnemyDeathSpawnEntry
- Inheritance
-
EnemyDeathSpawnEntry
- Inherited Members
Constructors
EnemyDeathSpawnEntry()
public EnemyDeathSpawnEntry()
Fields
Count
Nonnegative number of enemies to create; 0 creates none.
[Tooltip("Nonnegative number of enemies to create; 0 creates none.")]
public int Count
Field Value
Enemy
Enemy asset to spawn; required for an enabled spawn request.
[Tooltip("Enemy asset to spawn; required for an enabled spawn request.")]
public EnemyAsset Enemy
Field Value
Radius
Placement radius in world units; nonnegative, 0 uses the centre.
[Tooltip("Placement radius in world units; nonnegative, 0 uses the centre.")]
public float Radius
Field Value
Methods
ToDef()
Converts this authoring entry to a runtime definition, resolving asset references through their caches.
public DeathSpawnDef ToDef()