- Home /
How do I use the touch functions for Android in the beta?
I've got my Nexus One, I can deploy my app to it. I even got GUI buttons to work, mostly. I just can't find the Android controls anywhere. Is there any documentation on this at all? I don't need someone to spell everything out for me, but I can't even find a place to get started. Is it based on the regular Android SDK or is there supposed to be something specific for Unity? If it's just based on regular Android stuff, at least I can start looking there.
Answer by Jessy · Aug 24, 2010 at 09:52 AM
Everything is in the Input section of the manual. Search "touch" in the corresponding page of the Unity 3 documentation. Input.GetTouch will probably be the most helpful because it has three examples. (Oddly, there only seem to be UnityScript examples here, no C#/Boo available, like everywhere else I've looked. I'll report a bug now.)
http://unity3d.com/support/documentation/ScriptReference/Input.html
Your answer
Follow this Question
Related Questions
How to make floating mobile keyboard in mobile game ? 0 Answers
Touch joystick tutorials ? 0 Answers
How can I define Android or iOS inputs? 3 Answers
Android Hardware Keyboard 0 Answers
android touch optimization issue 1 Answer