Use optional arguments for speedFraction

public void MoveTo(Vector3 destination, float speedFraction = 1f)

and

public void StartMoveAction(Vector3 destination, float speedFraction = 1f)

That way we only need to provide a value in the AIController and the Player Controller and Fighter remain unchanged nut, it still allows us the option of changing it later.

1 Like

Privacy & Terms