Looking for an RTS-like controlling Tutorial

Hey guys,

I was looking for a tutorial on using the mouse in a Unity in an RTS-like fashion but couldn’t find one.
To be more specific I want my code to know when my mouse is directly above a specific GameObject, and also to be able to instantiate objects in a location on the ground above which the mouse cursor is located.
Other RTS features such as box selecting would be useful as well.

Any links to tutorials or just pieces of code with explanation would be useful.
Thanks in advance.

I dont know about any tutorials but i got a real messy script for building houses and resources. If you want it just pm me. I dont wanna post it here.

I’m making a RTS game and I know how to do.

You have to use Raycasting and the function: ScreenPointToRay

Send me a PM if you want some more help.