|
Hello everyone ! I'm trying to make a small game for iOS. However, unlike on PC, where I can use a simple syntax : Input.GetButtonDown("Button") to catch a keyboard input, I'm having trouble getting start with how to catch a touch input, and how to determine what the user wants to do with it. Please help me by providing some real simple example ! Thank you very much !
(comments are locked)
|
|
go through he GUI tutorial http://unity3d.com/support/documentation/Components/GUI%20Scripting%20Guide.html Thank you ! I've already read reference guides and such. However, I don't really understand how they will be applied in a real situation. That's why I think I should just ask about it directly.
May 31 '11 at 09:16 AM
Shanderia
On a second thought, the link you referenced wasn't about what I was asking, ha ha. Thank you anyway though.
May 31 '11 at 09:17 AM
Shanderia
(comments are locked)
|
|
You might be interested in checking out the FingerGestures scripting package from the Asset store. It makes it very easy for you to detect the various input events and gestures that users can do on mobile devices. You can get more information in the forum thread at http://forum.unity3d.com/threads/95983-FingerGestures-Robust-input-gestures-at-your-fingertips!
(comments are locked)
|
