Quantcast
Channel: Answers by "Graham-Dunnett"
Viewing all articles
Browse latest Browse all 959

Answer by Graham Dunnett

$
0
0
Either: a) the image is stored in the `Resources` folder in the editor, and built into a special file for use in the game, in which case you do not need the give the `Application.dataPath`, since Unity will know where to find the image if you just give it the path. Or b) you are trying to load a texture from the file system, in which case you should use the `WWW` class.

Viewing all articles
Browse latest Browse all 959

Trending Articles



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