public static string[] ScreenCaptureAndSave() { ReadExternalFilesTools.CreateFolder(m_PhotoPath); string name = DateTime.Now.ToString("yyyy_MM_dd_HH_mm_ss") + ".png"; Application.CaptureScreenshot(m_PhotoPath + "/" + name); MyDebug.Log(m_PhotoPath + "/" + name, MyColor.State.red); return(new string[2] { m_PhotoPath, name }); }