- Home /
Question by
UnityNoob123 · Sep 03, 2015 at 05:06 AM ·
c#iostap
My IOS touch input is not working
I built out my IOS game and put it on my phone through xcode, everything worked fine except one thing. My touch input was not working so I would love some help! Basically I just need it so if a finger taps anywhere on the screen, the scene changes, or the guy jumps, really basic input. Here is the code I currently have:
void Update(){
if (Input.GetKeyDown (KeyCode.Space) || Input.touchCount > 0 && Input.GetTouch(0).phase == TouchPhase.Began) {
didJump = true;
}
Comment
Your answer
Follow this Question
Related Questions
Ios Tap Function 1 Answer
Multiple Cars not working 1 Answer
Distribute terrain in zones 3 Answers
Menu on Android Application 1 Answer
Did Social.LoadUsers() stop working? 3 Answers