Best way for texture animation

Hello, I wanted to know what was the best method for performance, between animate the UV of the object or scroll through the texture list stored into an array.

Thanks!

From worst to best:

  • Using an array of separate images and assigning the textures to the material for each frame.
  • Having a page containing all the images for a single “sprite” and animating using the texture offset for the material.
  • Using a texture atlas (texture for multiple objects) and animating the uv coordinates in the mesh (not using the texture offset of the material) for each.
  • Displaying all the ‘objects’ in a single mesh, each getting its own four vertices and two triangles. Use a texture atlas for the contents, and modify the UV coordinates for each ‘object’.