Hello everyone. I have a problem: When i call
skeletonAnimation.AnimationState.SetAnimation(0, animation, true);
, i see micro-freeze. Fore example: I have the 4 type (gameObject) of enemies, and when level starts, i call the Unity function
Instantiate
. After
Instantiate
, my script call the Spine function
SetAnimation()
and i see micro-freeze/lag in game. When during the game, all types of gameObject is "instantiated" , i don't see this micro-freeze. It's happening, when gameObject is "instantiated" a first time after started my game. What can i do with this problem? Thank's.