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.
If you are a new user, check out our FAQ for more information.
If you are a moderator, see our Moderator Guidelines page.
We are making improvements to UA, see the list of changes.
For troubleshooting common problems with Unity 5.x Editor (including Win 10).
To help users post good questions and use the site effectively we have posted a user guide. Please check it out.
Answers and Comments
11 People are following this question.
What is the command to check whether player is touching the screen or not??
Problem with touch button (when moved)
Changing input to Character Controller from keys to touch screen
I can't change the sprite using the Touch class
left and right buttons for android 2d game