- Home /
how do i put an image from the internet in unity?
hello im trying to put an image background from the internet in my 2D game but i dont know how to get the image in unity thank you for your help :)
Answer by robertbu · Apr 04, 2014 at 05:55 AM
As an educated guess, you are looking for the WWW class. You will find an example script that loads a texture into a material on the reference page for the WWW class.
Answer by LudwigVK · Apr 03, 2014 at 01:59 AM
i have never made a 2D game in unity, but i guess you can just create a plane & add your picture as a texture for a material for that plane, then just move it to the background... now, if your camera moves, more probable thing is that the plane will be static & will be left behind soon, then you could make the plane a child of the camera or make it move as you move via script... I'm just guessing as you're not being that specific & i don't have that much experience in 2D but try & let me know ;)
Your answer
Follow this Question
Related Questions
URL Escaping for Firebase 2 Answers
How can I fill a list with images from an external source? 0 Answers
Trouble using WWW.LoadImageIntoTexture 0 Answers