Search code examples
unity-game-engineassetbundle

[Unity3D]How to create an assetbundle of an image folders and then load these images as texture?


I'm new to Unity. Now I have an image folder which includes around 749 .jpg images. I want to create an assetbundle of this folder. In the game, I want to load these .jpg iamges one by one and set it as Texture2D.

Thanks in advance.


Solution

  • You can find full guide on Unity Blog(how to make and load asset bundles) as it said:

    AssetBundles are files created in the Unity editor during edit-time, which can be used later by a build of a project at run-time. AssetBundles can contain asset files such as models, materials, textures and scenes. AssetBundles cannot contain scripts. (Read This)