Control Units and Give Orders! Unity RTS Tutorial

Silakan Di Tonton Video Tentang Sebuah Artikel Control Units and Give Orders! Unity RTS Tutorial , Disini Kamu Bisa Langsung Streaming Artikel Ini " Control Units and Give Orders! Unity RTS Tutorial " Sebaiknya Gunakan Opera Browser / Chrome Agar Lebih Mudah Untuk Menonton Videonya.

Control Units and Give Orders! Unity RTS Tutorial

Title:Control Units and Give Orders! Unity RTS Tutorial
File Size:3.5 MB
Bit Rate:128 kbps

View Via Youtube

✅ Get the Project files and Utilities at
Let's make a Simple RTS Control System to Select our Units and Give Orders.
This is a great base for you to expand upon, add more actions, different types of units, etc.
Stay tuned for an upcoming video covering how to make Custom Animated Cursors so we can make the game look better and give the player more context.

Control Units and Give Orders in Unity ECS!

Modular Character System in Unity

Patreon Sponsor:

We're going to start off with a basic Unit standing Idle.
First we capture the Mouse Down and Mouse Up events and store the Mouse World Position, using that we can then use Physics2D.OverlapAreaAll which returns all the Colliders within two points
Then we create a script to identify our Units and ignore objects like Rocks. We add a Visual for the Unit Selection and the Selection Area.
After that we add the ability to give our Unit a simple Move Order. The Unit is handled by the Modular Character System created in a previous video so we can easily add some move behaviour.
With the Units receiving orders then we dynamically generate some positions around the Target Move Position and send each unit to a different position in order to prevent overlapping.

And with that the RTS Control System is done!
You can use this as a base for your RTS Games and Expand upon it by adding more actions and behaviours like Attacking Enemies, Constructing Buildings, Gathering Resources and so on!

If you have any questions post them in the comments and I'll do my best to answer them.

🔔 Subscribe for more Unity Tutorials

See you next time!

📍 Support on Patreon
🤖 Join the Community Discord
📦 Grab the Game Bundle at
📝 Get the Code Monkey Utilities at

#unitytutorial #unity3d #unity2d


Hello and welcome, I am your Code Monkey and here you will learn everything about Game Development in Unity 2D using C#.

I've been developing games for several years with 7 published games on Steam and now I'm sharing my knowledge to help you on your own game development journey.

You can see my games at


- Website:
- Twitter:
- Facebook:

Artikel Lainnya :

Modular Character System in Unity Move, Attack, AI, Pathfinding . LEARN UNITY - The Most BASIC TUTORIAL I'll Ever Make . 5 Years of Making Games in Unity! . How to MAKE YOUR GAME LOOK GOOD! . Unity RTS - Movement and Pathfinding Groups . How to fix the RTS genre . Building a Camera Controller for a Strategy Game .