Hey all i'm a noob at unity and i have built a basic game for my android (sony xperia s), anyway i built it and sent it to my android for testing and i can look up and down that's it :(
could anyone give me a touchscreen fps script and explain how the touch screen thing works please. Sory if im asking a lot but i know the scripts for the pc are built in default but i don't understand android and i need to make a game for my phone so i can play it when im on the go.
Just in case you are wondering i am a cheapskate i would rather build my own game that pay for them on the phone that is i buy all my PC games because i know i would never be able to make a game as good as battlefield 3
Answer by twelveplusplus
May 07, 2013 at 04:28 AM
I know you can make buttons in the onGui loop. Those work with touchscreen.
Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.
The best place to ask and answer questions about development with Unity.
To help users navigate the site we have posted a site navigation guide.
If you are a new user to Unity Answers, check out our FAQ for more information.
Make sure to check out our Knowledge Base for commonly asked Unity questions.
If you are a moderator, see our Moderator Guidelines page.
We are making improvements to UA, see the list of changes.
Answers and Comments
11 People are following this question.
Touchscreen car controls
Camera.main.WorldToScreenPoint(touch.position). Help !!!
Multitouch loses touch even when finger still on screen.
2 Objects spawning instead of one at each update
Animation issue related to touch input on phone