Ordering Service

public class OrderingService : IService, IUpdateSystem

This class allows you to send orders to the selected units. You can extend its code if you need more custom order types in your game.

Give order example

public class ExampleOrdering : IUpdateSystem
{
  [Inject] OrderingService ordering;

  public void Update()
  {
    var mousePos = Input.mousePosition;
    ordering.GiveOrder(mousePos, false); // will give a move/attack/follow order (depending on what's under the cursor) to all selected units, targeting the point raycasted from the input mouse coordinates.
  }
}