What I am trying to is be able to let a player drop custom texture files into a folder and be able to read those texture into my game. The folder sits in the same directory as the game executable, but I can't seem to get the WWW class to work on relative folders and Resources.Load only works on files within the project. Can anyone help me out here?
You can use
to find the local path, and then you can append the path of your external images and use a WWW with the file:// protocol to load them.
Or, you can use .net IO stuff to load the bytes of a file directly, but that doesn't have quite as much functionality as Unity's WWW class.
answered Jan 29 '12 at 10:31 PM