Quantcast
Channel: Answers by "vickygroups"
Viewing all articles
Browse latest Browse all 30

Answer by vickygroups

$
0
0
Thank you, Koray. how do I specify the button? Can I put the argument into it? I was also reading that Android doesn't like Input.touchCount, and was thinking of using touch.phase, but the instructions are confusing. Could I do: void Update () { Touch touch = Input.GetTouch(0); if ((touch.phase == TouchPhase.Began) && (guiTexture.HitTest(touch.position))) { Application.LoadLevel(2); audio.Play (); } }

Viewing all articles
Browse latest Browse all 30

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>