- Home /
About iPhone/iPad development
First i would apologize if this have been asked before. i have looked and not found.
I am considering purchasing Unity 3d Pro to develop for IOS and have a few questions regarding that:
I have checked tutorials but do not understand how, and if, Objective-C is needed?
If so (1), where?
If not, does Unity have support for the iPhone exclusive features that can be performed by touch, mapkit, keyboard etc.?
How portable is a project between different platforms such as IOS, Android etc.?
Cheers
Answer by Tetrad · Dec 27, 2010 at 10:32 PM
You don't need Objective-C, but if you want to write any plugins that access the OS features (such as using mapkit), then you'll need it.
There isn't a whole lot of Unity support for OS features since you can pretty easily do it yourself. Touches work natively. There is no "keyboard" support, just text fields that call up the OS keyboard or can use an attached bluetooth keyboard (this is true even for native apps). Other than that you're pretty much on your own.
Projects are pretty portable. You can just wrap interop methods (how you access native code) with #if UNITY_IPHONE and they won't be compiled for android versions.
If i want to add a game AI where and how do i add that? In Objective-C, Java ...?
Go to the store in unity and download behave. It is an implementation of behavior trees with documentation. Other than that You would write scripts, you can write scripts that do almost anything you desire really. You could write ai scripts similarly to writing a movement script.
Your answer
Follow this Question
Related Questions
Best way to load information from server? 0 Answers
Replace Graphics with inserted picture 0 Answers
Setting resolutions for iPad and iPhone 0 Answers
NGUI resizes fine in engine but not on actual devices 1 Answer
How to identify each iOS device? 1 Answer