public void SetSteeringData(SteeringData data) => _steeringData = data;
public SteeringBehaviour(Rigidbody2D rb, float acceptDst, float desiredSpeed, float maxForce, AvoidData avoid = null) { _rb = rb; _steeringData = new SteeringData(acceptDst, desiredSpeed, maxForce, avoid); }
public void SetMovementType(MovementType type) => SteeringData.SetMovementType(type);
public SteeringBehaviour(Rigidbody2D rb, SteeringData data) { _rb = rb; _steeringData = data; }