Useful unity engine coding tips

1. [IOS] In order to use Type.GetGenericArguments() in your code, StrippingLevel must be set to Strip ByteCode [2] or above, micor mscorlib [3] does not support this method. 2. [IOS] Do not use Value Types as Generic types’ type parameter and using Linq on it. e.g. You will receive a JIT Compile exception while executing Linq on a object of type List<KeyValuePair<string,string>>. 3. [IOS] You’ll neet to escape url string for WWW class on IOS.

继续浏览