2
\$\begingroup\$

I am trying Unity out and I want to try and write an RTS. What would be the best way to go about getting the basic, right click to set a destination working within Unity? I know how to get the mousePosistion Vector3, but past that not much. Please show some code examples if you can, it would help much more than just telling how to do it.

\$\endgroup\$
6
\$\begingroup\$

When just starting out it's useful to see an example. See here for an example RTS game in Unity. From that project you should be able to answer a good number of your own questions regarding how to get started with RTS development in Unity.

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.