So, read the docs:
http://docs.unity3d.com/ScriptReference/Input.GetTouch.html
You'll see that this API is intended for mobile devices. If you then look at:
http://docs.unity3d.com/ScriptReference/Input.html
you'll see advice about how to manage input on PCs. Some of the APIs that you need on laptops/desktops have code examples that should get you sorted.
↧