KevinHololabs

Hello, I am trying to figure out an approach for props to be used in our game. For example characters might need to wear random hats, or they might need to hold random things. I was thinking for the hold random things I could use the BoneFollower component. For hats I was thinking of creating a run time skin, like in the mix and match sample scene. Would that make sense? Or should I use something like the AtlasRegionAttacher for the holding random things / hats?
KevinHololabs
Posts: 2

Nate

There's many ways to do it, but the mains ways are:

1) attach them all in Spine, then just show the appropriate one (simple, but can be tedious for many attachments),
2) generate attachments at runtime, possibly even packing the atlas at runtime (most complex, best performance),
3) BoneFollower (simple, but performance isn't as good, though that might not matter).

For more on #2, see here:
Runtime Skins - Spine Runtimes Guide
User avatar
Nate

Nate
Posts: 8365


Return to Unity