Hello friends!
I have a aplicattion that need to load a texture at runtime .
Based on user choose .
Everyday the textures ll be generated with new information, then the program need to load while is running.
This is possible in unity ?
Yes it is.
You have two options:
-
Resources.Load This one is not as good, as it has to be placed in a specific directory and has to be originally compiled with the program (this means no adding new textures post release)
-
WWW class with .texture property. This is what I’m using, it can access either external web files as well as local machine textures. It only accepts PNG type files, which could be a limitation, but is probably the suggested method.
You can load a lot of textures very quickly as well with it. I’m currently using it and finding it fast and easy to use (after the initial coroutine based asynchronous loading setup).
1 Like