Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: cdman on November 06, 2013, 05:26:47 PM
-
I got Spriter working using the free version of NGUI and the APIs in this forum:
http://www.brashmonkey.com/forum/viewtopic.php?f=3&t=534&start=50 (http://www.brashmonkey.com/forum/viewtopic.php?f=3&t=534&start=50)
However, I just bought the full version of NGUI and now it doesn't work. I updated to v3.0.4 and still no luck. I commented out the #define NGUI_FREE like I was told in the instructions.
I get several errors (No overload function for method 'ImportTexture' takes '3' arguments) which can be fixed by adding a 4th boolean value to the calls.
But I can't seem to fix the other error (Can not implicitly convert type 'System.Collections.Generic.List<UISpriteData>' to 'System.Collections.Generic.List<UIAtlas.Sprite>' for the line 345:
List<UIAtlas.Sprite> spriteList = atlas.spriteList; in SpriterDataNGUI.cs
Thank you.
-
Without actually knowing too much, I presume 'Spriter' was written to use pre-NGUI 3.0.
I think there is still something for NGUI 2.7 in the Unity download. Try that instead of the latest version. Not much you can do other than fix Spriter yourself, well, or ask whoever made it to fix it.
-
UISpriteData replaced UIAtlas.Sprite. Its data is also not backwards compatible, which is why I have code that auto-upgrades it for older atlases.
-
Thanks.
I tried 2.7 but it was too old.