Class UnitSandbox.Setup
- Namespace
- TDMaker.Editor
- Assembly
- TDMaker.Editor.dll
What to test.
public sealed class UnitSandbox.Setup
- Inheritance
-
UnitSandbox.Setup
- Inherited Members
Constructors
Setup()
public Setup()
Fields
buyAbilities
Buys every rank of every tower ability before the wave (to test mine fields and other abilities).
public bool buyAbilities
Field Value
count
Enemies sent.
[Min(1)]
public int count
Field Value
interval
Seconds between spawns.
[Min(0)]
public float interval
Field Value
laneLength
Lane length in world units.
[Min(6)]
public float laneLength
Field Value
maxSeconds
Game-time limit.
[Min(1)]
public float maxSeconds
Field Value
opponent
Enemy sent against a hero or soldier under test (ignored for enemies).
public EnemyAsset opponent
Field Value
rangeYScale
Range ellipse Y scale.
[Min(0.01)]
public float rangeYScale
Field Value
seed
Random seed.
public uint seed
Field Value
towers
Towers placed beside the lane, one slot each (any tier).
public List<TowerAsset> towers
Field Value
unit
Unit under test: an enemy, a hero or a soldier.
public EntityAssetBase unit