|
Hi, at first, thanks to Eric5h5 for sharing his "fade"-class in the unifycommunity. I would like to using it for my unity-iphone project and there i want to fade between to color-values. I created a new "Standart Assets"-Folder and paste that script in a "Scripts"-folder and then added the fade-script to an gameobject. Then i added the following code:
If i start using my project with my iphone and the unity remote-app, it works great. Then i built & run the project to watch it on my iphone. Then the build dont run and i get the following xcode-console output:
The error only appears if i use the code below, if i uncomment it and use my "old" code, it works without fading.
So it would be great to know if someone could help me, please. Thanks for your time. yosh
(comments are locked)
|
|
There seems to be a bug where calling the Fade script (which is in Javascript) from C# fails on the device for some reason, though it works in the editor and in builds made from regular, non-iPhone Unity. You can either use Javascript when calling Fade functions, or rewrite the Fade script in C#. Ok, thanks for that info. I will rewrite it and test it.
Mar 01 '10 at 11:40 AM
yosh
If you successfully rewrite it, you should post it on the Wiki so other users can use it, as well. Make sure your code is clean. :)
Jun 19 '10 at 05:44 AM
qJake
(comments are locked)
|
