UtilityKit icon indicating copy to clipboard operation
UtilityKit copied to clipboard

SpriteAnimator won't work on a fresh gameobject

Open SharpenedSpoon opened this issue 9 years ago • 1 comments

Tried adding the SpriteAnimator to a gameobject and it immediately started throwing errors - first erased the inspector gui (line 519 of SpriteAnimatorEditor - looks like it tries to grab animations from an array, but the array is empty).

Once I hit "play" it looks like some of the values are initialized. While playing, I can see the animation control buttons and the "Animations" label, but see no interface for actually adding animations. I also get an error referring to line 155, which looks like a similar error, trying to access the array's items.

After I hit Stop, the inspector gui returns, but the only controls for it are the "Play on Start" dropdown.

he;lp!

SharpenedSpoon avatar Nov 25 '15 05:11 SharpenedSpoon

I just started using UtilityKit with Unity 5.3 and I've run into the same problem. Looking into it.

Would be cool to get this working again. Mecanim is annoying to deal with for light-weight 2d animations.

nullbunny avatar Mar 25 '16 17:03 nullbunny