- Home /
iOs/Android Development
Hi everyone, first time asker. I've been tinkering with Unity for a good while now and worked on a few PC games with it. Now I've been assigned a project for iOS and Anroid. Aside from getting the license, is there anything I should know? Obviously the interface has to be geared to touch screens rather than a mouse, but there must be more to watch for. When I've set up the touch screen interface, do I just select the iOS or Android platform in build settings and the rest takes care of itself, or are there some significant differences I need to know?
Answer by kaolas · Nov 30, 2012 at 06:23 PM
There are a lot of considerations with mobile development, especially if you want it to be one code base for multiple platforms. Hardware restrictions, platform/OS restrictions, security, deployment size, In App Purchases, getting approved to be in the App Store, etc. You should probably start here: Unity - iOS & Android mobile development
To your specific questions, in theory you are correct that you pick your target platform and build it and it "just works" but it's never quite that simple. For iOS, you have to have the proper signing certificates and provisioning profiles. If you hook into the hardware (i.e. the camera on the device) you likely will have to build compiler #IF statements into your code to handle each of the different platforms. Honestly, though, your questions are a bit too broad. I think you should research the link above and any other information you can find (Google is your friend! There's a lot out there) and then formulate some more specific questions and come back with them if you are still unclear or having issues.
Answer by LordZephyr · Nov 30, 2012 at 06:57 PM
As @kaolas has said, there is a great deal that you need to keep in mind when developing for iOS and Android. Normally, I don't add on to others' answers but with my experiences in iOS development, I really wanted to mention one more thing to keep in the forefront when developing for mobile devices. When you develop for the PC or Mac, you have the entire universe of processor power at your fingertips (to the extent of what your computer can handle) but, for the mobile devices, you are extremely limited with the processor. Keep the limitations in mind when you are developing and you will always be happy. If you go overboard right away, you will find yourself having to get rid of game features or objects to meet with the capacity of the mobile device.
Read as much about mobile development as you can. It will give you great insight to your apps.