I’m currently using this code to take a screenshot.
Application.CaptureScreenshot("screencap.png");
But I need to know how to save an image of just the objects in a separate canvas, and not the entire game view.
I’m currently using this code to take a screenshot.
Application.CaptureScreenshot("screencap.png");
But I need to know how to save an image of just the objects in a separate canvas, and not the entire game view.
I am looking for the same thing. Someone has already suggested to use a special camera that is focussed in only on that specific canvas and attaching something like a TakeScreenshot or similar script to capture the image on just that camera. Then use a separate script to save the image to a file. But I am still working all this out myself. Still, I hope it helps.