I downloaded the 2.0 version of Ani.Mate and dropped it in my iPhone project. This results in an error. I checked the “features not supported in Unity iPhone” page in the docs because I thought Boo wasn’t supported on the iPhone but there’s no mention of Boo there.
Here’s the error I’m getting:
** (/Users/user/Applications/Unity3D/Unity iPhone/Unity iPhone.app/Contents/Frameworks/MonoCompiler.framework/booc.exe:2060): WARNING **: The class System.Diagnostics.Stopwatch could not be loaded, used in System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77
It truns out I had both Ani.Mate 1.6 and 2.0, both downloaded from the link in the wiki and both give this same error.
I know people are using AniMate on the iPhone. Is there something I need to do to make it work on the iPhone, or do I need to find a C# port of it?
For now, using the version ported to C# as part of the GUIManager project. This seems to be Ani.Mate 1.0.1. If anyone has released a port of 2.0 I’d appreciate hearing about it-- but mostly just to keep up with any bug fixes. Looks like version 1 does what I need.
I had a go at converting AniMate 2.0 using an automated Boo to C Sharp conversion script. I don’t know boo and have only a little time with C Sharp so it is not obvious what needs to be fixed to make it work.
Here’s the current error:
Assets/Plugins/Ani.Mate/Ani.cs(57,50): error CS8025: Parsing error
If someone knows what they’re doing, it might just take a few minutes to fix this up, and then everyone will have the current AniMate for iPhone. (I’ll put more into it, but its almost 4am at the moment…)
Yes, thanks. I’ve made it about %20 thru the file. Most of the changes that need to be made are obvious, some of them are not obvious due to my lack of expertise with C#.
I think someone who knows C# will be able to complete this port just by looking at the code. I used the 1.0.1 port that is part of GUIManager and the original boo code as a guide. It seems pretty straightforward, but I’m simply not fluent enough in C# and for my needs I can get by with the 1.0.1 port from GUIManager.