Hassy

I'm creating a game in unity and trying to change skeleton data at run time.
it works fine doing avatarAnimation.skeletonDataAsset = dataAsset;

but when I call avatar.skeletonDataAsset.Reset(); and avatar.Reset(); to update
the character, it takes lot of memory(changes skeletondata around 10 characters in the same time)
and freezes the game for few milliseconds.

so I'm tying to change skeleton data without calling reset and found that the skin can be changed at runtime using setAttachment. as same as changing skin data,I want to change json data without calling reset.
is this possible? or any other approach to solve this problem?
Hassy
  • Postovi: 1


Natrag na Unity