Quantcast
Channel: UGUI & TextMesh Pro
Viewing all articles
Browse latest Browse all 23263

Loading UI.Image by WWW class?

$
0
0
I load a image by www class. It arrives fine in the material. But i cannot figure out how to load it into a UI Image.

This gives me a error message.
Code (JavaScript):
  1.  
  2. var mypreviewimage:UI.Image;
  3. mypreviewimage.SourceImage=www.texture as UI.Image;
  4.  
While this doesn't give me any error. But it doesn't load the image neither:
Code (JavaScript):
  1.  
  2. var mypreviewimage:UI.Image
  3. mypreviewimage=www.texture as UI.Image;
  4.  

Viewing all articles
Browse latest Browse all 23263

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>