Unity Tutorial: Building an RTS: Giving orders


A core system needed in an RTS (and many other types of games) is being able to click on something to issue an order. Those orders need to take into account what you are clicking on and perform different actions. In this tutorial we’ll put together a framework that we can easily expand to allow us to issue orders. Those orders will perform different tasks depending on if we have clicked on open ground, friendly building, enemy building, friendly character or an enemy character.

Find the code here: https://github.com/GameDevEducation/DevToolkit_RTSStyleInteraction