void PrintSizesTillIndex() { for (int i = 0; i <= printIndex; i++) { print(i + ". " + GameViewUtils.GetViewDimentions(i)); } }
private void Start() { path = (Application.dataPath.Replace("/Assets", "")) + "/" + screenshotsFolderName; if (Directory.Exists(path) == false) { Directory.CreateDirectory(path); print("Created folder at (" + path + ")"); } for (int i = 0; i < editorScreenSizeIndices.Length; i++) { string s = GameViewUtils.GetViewDimentions(editorScreenSizeIndices[i]); if (Directory.Exists(path + "/" + s) == false) { Directory.CreateDirectory(path + "/" + s); } } }