Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: badawe on May 20, 2014, 03:59:02 PM
-
Congratulations! This new version looks amazing! And the integration with the native sprite is a awesome news!
Right now, I'm trying to use a UI2DSprite animated using AnimationController and Native animation, but not looks like possible, I write a mirror class to set the UI2DSprite the same value as Sprite Renderer too, but don't work ether, do you have any idea if that wold be accomplished?
-
Unfortunately Unity itself doesn't understand 2D sprite types in the animation view.
NGUI's 2D sprite exposes the "next sprite" field on the UI2DSprite, but even that isn't showing up. The issue lies on Unity's side. Their own 2D sprites have special handling for this in the animation window, and this doesn't work for user scripts.
Try using the UI2DSpriteAnimation as the starting point.