- Home /
This question was
closed Jan 19, 2015 at 09:54 AM by
meat5000 for the following reason:
The question is answered, right answer was accepted
Question by
stefanc · Jan 19, 2015 at 07:52 AM ·
androidbuildtouchtouchphasetouchcount
Short question: If my app runs without any problems on Android, should it run without any problems on iOS?
I have no way of testing my game on iOS. What I am worried about is this line of code:
if (Input.touchCount == 1)
{
if (Input.GetTouch (0).phase == TouchPhase.Began) {
Will this detect touches on iPhone as on Android?
Thanks!
Comment
Best Answer
Answer by SanX91 · Jan 19, 2015 at 09:47 AM
It's the same for both. However, there might be other problems related to aspect ratios.etc., so nothing can be said prior to proper testing
Follow this Question
Related Questions
Disable touch while object moving back to start position 0 Answers
Infuriating bug: Android build occasionally dropping touch input. 0 Answers
Mutli-touch in android? 1 Answer
Distribute terrain in zones 3 Answers
Input.touchCount returning wrong number 0 Answers