This is what you put on the unit objects

Must attach a tag called "unit" (Case sensitive) and put this script on the object. Then with the controlObject Script you can left click/right click to move