Hello Everyone! First i'd like to say that I appreciate the efforts of everyone here to help others, the community has helped me a lot. Thanks to everyone.
Second... I am triying to build an app for iPhone. As I am new to unity I have made the "mistake" of mixing languages and I have a JS calling a C# method.
I already have read the docs about placing the script on /Standard Assets and on the viewport the app runs. without any problem. The PROBLEM COMES when I try to build for Xcode. bassically the class gets ignored, and I get the message I have this missing method in C# ( because it has not been compiled yet )
I have also read that other people had have this problem before in Android.
Thanks in advanced
asked Mar 23 '11 at 03:01 PM
I am leaving some information I used to solve my problem :
After the "great response" of answers I decided to rewrite the code in JS, I though this would solve the problem, but it didn't, then I found out that the main problem was "Dynamic typing" when developing for iOS.
I read this and helped me out to get the problem.
I noticed as the example the problem was on "GetComponent". so I decide to modify the script and use SendMessage, thats how i made it work
I hope someone can find this useful.
answered Mar 24 '11 at 02:31 PM