Hi, I doing screenshots like that:
void Update () {
if (Input.GetKeyDown (KeyCode.X)) {
a += 1;
nazwa = "Screenshot";
nazwa = nazwa + a.ToString ();
Application.CaptureScreenshot("Assets/Screenshots/"+nazwa+".png");
Debug.Log ("foto");
}
}
and how can i use maked screenshot to texture the object. Unity doesnt refresing assets in game and texturing doesnt work to.
Thanks for help.