Ash Blue

How much of an impact on performance does including the Unity Runtime file have? Mainly just curious if simply including it and not having a running Spline animation simply soaks up memory. Or does including the library constantly eat into processing power? Our team is considering it for http://playadnc.com to animate several colossal sized bosses. But not for general character animation since we're using pixel art.

Also I'm assuming Spine can swap sprites on a palette and I don't have to do that manually in Unity?
Ash Blue
  • Postovi: 1

Pharan

No extra managers run in the background, even with Spine GameObjects in your scene. So no. Including the library by itself doesn't consume cycles.
Only updating meshes and applying animations requires processing per update. That only happens in SkeletonRenderer/SkeletonAnimation/SkeletonAnimator.

The amount of CPU processing it requires depends on things like the number of vertices, bones, dopesheet timelines you use.
There are many extra things you can do/remove to improve performance but that's micro optimizations you don't need to do until you check the profiler and know that's the bottleneck or, at the beginning, the actual thing slowing down your game if it slows at all.

"Colossal sized bosses" with pixel art are more likely to eat up fillrate allowances than be a CPU hog. The more pixels each quad/image/part occupies on screen, the more GPU power it requires to render. This is true even for a static mesh, in any engine.

What do you mean by "swap sprites on a palette"?
Avatar
Pharan
  • Postovi: 5366


Natrag na Unity