MoveToComponent

Namespace: Murder.Components
Assembly: Murder.dll

public sealed struct MoveToComponent : IComponent

Implements: IComponent

⭐ Constructors

public MoveToComponent(Vector2& target, float minDistance, float slowDownDistance)

Parameters
target Vector2&
minDistance float
slowDownDistance float

public MoveToComponent(Vector2& target)

Parameters
target Vector2&

⭐ Properties

MinDistance

public readonly float MinDistance;

Returns
float

SlowDownDistance

public readonly float SlowDownDistance;

Returns
float

Target

public readonly Vector2 Target;

Returns
Vector2