// Update is called once per frame void Update() { if (Input.GetKey(KeyCode.Return)) { PrintScreen(); } if (Input.GetKey(KeyCode.Space)) { TakeScreenCapture.ChangePath(); } }
// Start is called before the first frame update void Start() { instance = this; }
public void PrintScreen() { TakeScreenCapture.TakeScreenshortStatic(2048, 2048); }