Hello. I really need help. When I compile, www is not able to find the file. The screen shot is saving in the folder though. I’m sure it’s just something little. Thank you for your time! ![]()
FilePath = "Temp/Screenshots/Photo" + PhotoIndex + ".png";
Application.CaptureScreenshot(FilePath, 1);
Directory.CreateDirectory(Application.dataPath + "/Temp/Screenshots");
IEnumerator GetFile() {
WWW www = new WWW("file://" + Application.dataPath + FilePath);
yield return www;
OverlayTexture = www.texture;
}