Thẻ

– Compoent sử dụng : SkeletonAnimation
– Quay (xoay người): skeletonAnimation.skeleton.FlipX = true
– Set animation: chạy animation
skeletonAnimation.state.SetAnimation(0, anim, loop);
hoặc:
– Add animation: Thêm animation vào hàng đợi
skeletonAnimation.state.AddAnimation(0, “run”, true, 0);

http://esotericsoftware.com/forum/Unity-Spine-Unity-Examples-3318

Advertisements