Hi,
I’m trying to take multiple screenshots of the same frame. Once a key is pressed, the script will run and capture the screens.
So the first screenshot contained all of the gameobjects.
The second screenshot captured the screen while disabled gameobjects with tag A.
the third one disable another one,
and so on.
Basically I want to write a script such that to mimic the action of pausing the game by pressing the pause button in the main bar, take screenshot, disable a gameobject, take another screenshot, and repeat, while maintaining the same frame.
Is there anyway to achieve this?