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
id
Event key (also selects the trail colour in the view).
public string id
Field Value
maxTargets
Maximum units moved per activation (nearest first).
[Min(1)]
public int maxTargets
Field Value
range
Search radius around the actor.
[Min(0)]
public float range
Field Value
targets
Extra eligibility.
public MechanicTargetData targets
Field Value
Properties
Id
The resolved event key.
public string Id { get; }
Property Value
Methods
ToDef()
Bakes the transfer action (the view draws transfers with the registry's transfer colour).
public PathTransferDef ToDef()