Load jpg to gui texture ?


how can I load a jpg photo ,that it saved in a “Data” folder ,to a GUI Texture .

I want that happen in Awake function


Use the WWW class, there’s an example there. Remember to use file:// to prepend the path. You could probably also use System.IO somehow.