Unity Pro w/iPhone Basic

This has likely been covered, but if Unity 3 has a unified IDE, what happens when you do an iPhone build for iPhone basic? Does it just disable features in the build?

When you switch build platforms certain features are automatically disabled. So for example if you have shadows on and switch to iPhone Platform the shadows are disabled in the Editor.

Oh, I see. So there is a switch for that in the IDE? If so, that makes a lot of sense. I was just worried about having to do two projects for the one instead of just making the iPhone version.

Is there a way to target platform dependent code? For example, in XNA, one may use the following code.

#If XBOX
//XBox 360 Code, code, code...

#elif WINDOWS
//Windows Code, code, code...

#endif

Will we be able to do something like this?

#if IPHONE
//Get accelerometer

#if PC
//Get Keyboard/Joystick

#endif

People also use those for debug and non-debug builds as well, but I have never tried it through the editor as I am not entirely sure how far from normal development I can go with Unity.

Sorry if these are bad questions. With the 2.x versions, they were completely segregated and it made the build process clear.

You get a handful of Defines for the platform you want.

i.e.
iDevice
Web
Mac
PC
PS3
Android
etc…

OK, thanks for verifying. I have enough faith to believe that the UT guys would make it that way, but to believe is not to know.