Question by
dianadfonseca · Mar 30, 2017 at 08:47 PM ·
www classdownloadable contentrandom genimage loaderloading textures
How to load random images from a stock image website into unity?
I'm new in unity so I'm not sure if this is even possible but... Basically, I want to have a new picture appear in unity every x minutes. And I want these pictures to be randomly loaded from a stock images website.
I came across the WWW class but I'm not sure if this would work and how it would work. Can anyone help? :)
Comment
Answer by gameplay4all · Mar 30, 2017 at 09:08 PM
This seems an easy solution: https://unsplash.it
Then you can just use the URLs as described on that page and use the WWW class to download them using WWW.texture
You should be able to work this out :) Only downside is that you won't have any control over the type of content you get as far as I can tell.
Good luck!
-Gameplay4all