- Home /
Small question about converting from Android to iOS
Hello, as I don't have a mac I can't test this for myself, I will ask here. The question is simple, do you I have to use any explicit iOS touch input controllers in my code if I want to build my game for iOS (currently it's built as an Android game)?
I use touch inputs such as:
void Update() {
foreach(Touch touch in Input.touches){
if(touch.phase == TouchPhase.Stationary && exitButton.HitTest (touch.position)){
Application.LoadLevel(levelToLoad);
}
}
Will this work for the iOS devices?
Comment
Best Answer
Answer by DaveA · Jun 06, 2013 at 05:35 PM
No changes needed.Only if you use iOS-specific stuff would you need to change code. Texture compression may be a concern, but the several small apps I've done, I have not had to do anything special (Unity takes care of it)