clicking game

Hey guys I want to create a unity web game like ogame, SFgame, worldwar etc. … but I do not know how to make a script that when you click on such plants so I was switched to that section, and there are factories that can build and what does not, well, I click on it and begins to build to build. How do I do this?

Well you need to study, to know how everythings work to think how you gona do the things, because you can make one thing with much different ways.

look these links

http://docs.unity3d.com/Documentatio...Behaviour.html

http://docs.unity3d.com/Documentatio...Rigidbody.html

http://docs.unity3d.com/Documentatio...s.Raycast.html

http://docs.unity3d.com/Documentatio...stantiate.html

http://docs.unity3d.com/Documentatio...Transform.html

http://docs.unity3d.com/Documentatio...e/Vector3.html

http://docs.unity3d.com/Documentatio...ce/Object.html