MoveToTargetComponent
Namespace: Murder.Components
Assembly: Murder.dll
public sealed struct MoveToTargetComponent : IComponent
Implements: IComponent
⭐ Constructors
public MoveToTargetComponent(int target, float minDistance, float slowDownDistance, Vector2 offset)
Parameters
target
int
minDistance
float
slowDownDistance
float
offset
Vector2
public MoveToTargetComponent(int target, float minDistance, float slowDownDistance)
Parameters
target
int
minDistance
float
slowDownDistance
float
⭐ Properties
MinDistance
public readonly float MinDistance;
Returns
float
Offset
public readonly Vector2 Offset;
Returns
Vector2
SlowDownDistance
public readonly float SlowDownDistance;
Returns
float
Target
public readonly int Target;
Returns
int
⚡