Y
Y
Yuri Kai2019-08-04 09:48:29
Unity
Yuri Kai, 2019-08-04 09:48:29

What is the best way to store sprites in Unity?

I have a pixelated 2D GUI game with static objects and animations (via sprites).
How do I store all these sprites for optimization? (all these sprites on one canvas or static sprites on one canvas, and all animations separately or even each sprite on its own canvas)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
F
freeExec, 2019-08-04
@freeExec

They are atlases, not canvases. Group them by use. If you have 10 sprites in your location and they all lie in different atlases, then all these atlases will be forced to load into memory. Therefore, it is beneficial to keep together those sprites that are used together. There is not even anything wrong if the same sprite is in several atlases.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question