void Start() { if (!Directory.Exists(ScreenshotFolder)) { Debug.Log("Created directory for screenshots: " + ScreenshotFolder); Directory.CreateDirectory(ScreenshotFolder); } count = Directory.GetFiles(ScreenshotFolder).Length / resolutions.Length; currentResolution = GameViewUtils.GetMainGameViewSize(); currentTimeScale = Time.timeScale; }