Class BuildSlotData

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

A construction slot with its default barracks rally point.

public sealed class BuildSlotData
Inheritance
BuildSlotData
Inherited Members

Constructors

BuildSlotData()

Creates slot data.

public BuildSlotData()

BuildSlotData(Vector2, Vector2)

Creates slot data.

public BuildSlotData(Vector2 position, Vector2 rallyPoint)

Parameters

position Vector2
rallyPoint Vector2

Fields

position

Tower position in world space.

public Vector2 position

Field Value

Vector2

rallyPoint

Preferred rally point; the simulation projects it onto the nearest lane in range.

public Vector2 rallyPoint

Field Value

Vector2

Methods

ToDef()

Bakes the core slot definition.

public BuildSlotDef ToDef()

Returns

BuildSlotDef