Apr 5, 2022
Hello!
So the code doesn’t position the buttons: this is done “manually” in the scene itself beforehand :)
I don’t know how familiar you are with Unity’s UI systems — depending on this, I can suggest either that you have a look at the RTS Github directly to see how it looks in Unity (https://github.com/MinaPecheux/UnityTutorials-RTS) or that you first read the basics of the system in the Unity docs (https://docs.unity3d.com/Packages/com.unity.ugui@1.0/manual/index.html).
I hope it helps — cheers!