Class PathTransferData

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

Moves nearby path-following enemies to an exact path destination (a rift, a recall), baked into PathTransferDef. Use it as an ability action (useTransfer); hits can transfer through useTransfer.

public sealed class PathTransferData
Inheritance
PathTransferData
Inherited Members

Constructors

PathTransferData()

public PathTransferData()

Fields

destination

Where the units are moved.

public PathDestinationData destination

Field Value

PathDestinationData

id

Event key (also selects the trail colour in the view).

public string id

Field Value

string

maxTargets

Maximum units moved per activation (nearest first).

[Min(1)]
public int maxTargets

Field Value

int

range

Search radius around the actor.

[Min(0)]
public float range

Field Value

float

targets

Extra eligibility.

public MechanicTargetData targets

Field Value

MechanicTargetData

Properties

Id

The resolved event key.

public string Id { get; }

Property Value

string

Methods

ToDef()

Bakes the transfer action (the view draws transfers with the registry's transfer colour).

public PathTransferDef ToDef()

Returns

PathTransferDef