Iphone docs?

where can i find the manual for iphone dev? its nowhere to be found on my machine. is it a seperate download?

its the same documentation as the regular one, if you click on the iphone symbol at the top and the desktop one to switch it to iOS only.
generally 90% are equal

for scripting as well?

For scripting there is no toggle to switch, thats just 1 script reference, correct.

There its obvious whats mobile and what not. If it starts with iPhone / Mobile its for mobile only for example. On the other hand desktop only is basically only the desktop specific input handling but there its self explaining, you simply have no keyboard or joystick on the mobile :wink:

The one major thing to keep in mind: OnMouseXXX callbacks will NOT work on mobile

thank you, i see. i thought there was another set of docs that shows the non generic examples.

nope, not really as its just 1 engine, not a different engine on each platform :slight_smile:

do you know where i can find info on dealing with this?

http://forum.unity3d.com/threads/105843-pragma-strict-error-in-an-array-function

To my knowledge, nowhere as this is an aspect of UnityScript + AOT, nothing about the engine and its API. Simply put under pragma strict (which is auto enforced on iOS), dynamic typing no longer works and as getcomponentsinchildren(xxx) returns Component[ ], not XXX[ ] it results in the error you see.

That being said, the solution is simple: use GetComponentsInChildren.(), not the non generic one, that should work.
And as Cric mentioned: NEVER use Array or ArrayList.
Either something does not need to dynamically grow and shrink, then use real arrays ie Transform[ ]
Or something sneeds to grow and shrink, then add

import System.Collections.Generic; at the top and use List. myList = new List.();

For more on List<>, just search on MSDN and look at the C# code. C# 3.0+ has var types too which makes it look nearly the same as unityscript, just that it is documented and has some hundred books and thousands of tutorials on it around

thank you so much, i still have a lot to learn