ScreenCapture
截图功能。
public static void CaptureScreenshot(string filename);
参数:
- filename:将截屏文件保存到的位置。
- superSize:提高分辨率的因素。
ScreenCapture.CaptureScreenshot(Application.dataPath + "/aaa.png");
- superSize:提高分辨率的因素。
文章来源: https://blog.csdn.net/NCZ9_/article/details/90371440