Danny Watts
Danny Watts

Reputation: 579

Unity3d load all textures or load on demand?

I have a simple question, however, I am a bit puzzled. I have a coloring game and thus I have around 50 images each at 2048 x 2048. Should I best load them all onto a gameobject at the beginning of the game to reference later in the game, or should I instantiate one at a time from resourses? What seems the best idea?

Side note, I need small icons of each image in the gallery to display what it looks like

Upvotes: 0

Views: 442

Answers (1)

CAD97
CAD97

Reputation: 1323

Given the provided information, I would suggest you create separate preview/thumbnail images, using your art people/program/whatever, and load those when in your gallery. Then, load the full sized images as they are needed (and release them when they aren't).

See Unity's Art Asset Best Practice Guide (A lot of 3D, but Textures in particular applys to 2D).

Upvotes: 2

Related Questions