elizabot

Hi,

Does anyone have a guide to using an animation with skins in Unity3D with 2D Toolkit sprite collections?

For instance, if I want to load the goblins example and switch from the goblin skin to the goblin girl skin at runtime from code.


Thanks!
elizabot
  • 記事: 3

Nate

Your atlas needs to have all the regions for both skins, though they can be on separate atlas pages. To switch at runtime you get the skeleton field and use the spine-csharp API, Skeleton#setAttachment(slotName, attachmentName).
アバター
Nate

Nate
  • 記事: 11544


Return to Runtimes