|
Hello, I have a question to ask whether Unity can actually call or instantiate images recently taken from the scene itself using the "Application.CaptureScreenshot" in a Build. I've already tried inside the editor to call the images from the screenshots using the "Resources.LoadAll" code, and it worked! Except for these 2 problems:-
I already checked the path inside data folder of the build, and confirm that it's correct. I just want to make sure that it is possible to do that in Unity. Please tell me whether it's possible or not. Thank You. Edited- Error: "You are trying to load data from a www stream which had the following error when downloading. Could not resolve host: C:; Host not found" My Code:-
(comments are locked)
|
|
Use the WWW class using file:// prefix on the file name. Not for web player. Thanks for the answer, sorry for the late reply. I've tried using the WWW "LoadImageIntoTexture" but I got an error "You are trying to load data from a www stream which had the following error when downloading. Could not resolve host: C:; Host not found". As I have no clue how to fix this, I've include my code in the question above.
Jul 11 '11 at 05:25 AM
Sixakoo_
Okay, I've figured it out. I should put the file:// before the path and change all of the backslash to slash, sorry for not realizing what DaveA said earlier.
Jul 11 '11 at 07:55 AM
Sixakoo_
(comments are locked)
|
