Closed Fove closed 11 years ago
the print code doesn't work
I found the key,if there is no image selected in exSprite,all add animation clip operations will not work,I must drag a image,even a unrelated image is fine.
Well, yes. In current version it looks like exSprite needs an image keep there for working correctly. Because no image no mesh generated.
But I think the problem will be solve in ex2D v2
Fixed in ex2D v2.0 (coming soon)
After I append clips like below [code] foreach (exSpriteAnimClip c in exClips) { sp.spanim.AddAnimation(c); } [/code] animation doesn't show up in running mode,except I open Inspector of that gameObject,and open exSpriteAnimation component node,the animation appeared.
so I try to add this code after add all animations: [code] print(sp.spanim.animations.Count + ":" + sp.spanim.animation); [/code] then all of them worked correctly.