#it creates the screenshots folder but dosnt save screenshots there even
1 messages · Page 1 of 1 (latest)
here is new script it still dont work ```using System;
using System.IO;
using UnityEngine;
using UnityEngine.SceneManagement;
public static class RuntimeScreenshot
{
public static void TakeScreenshot()
{
string Screenshots = Path.Combine("Screenshots");
Directory.CreateDirectory(Screenshots);
ScreenCapture.CaptureScreenshot(Path.Combine(Screenshots, $"{SceneManager.GetActiveScene().name} {DateTime.Now.ToString("MM-dd-yy HH-mm-ff")}.png"));
}
}```