Selecting/Deselecting Unit

Hey there! :slight_smile:

I am fiddling around with a strategy game, but I can’t seem to figure out how I click a unit (a 3D object) and then change a boolean to true in C-Sharp.

I don’t need movement or anything, only how I select it byt clicking it. :slight_smile:

Here’s a JS method if you have not already seen it - maybe someone can help you convert it to C#…

http://forum.unity3d.com/viewtopic.php?t=33628