Step 1 声明截屏的图片所放的文件地址
string _path = Application.persistentDataPath + "Screenshot.png";
Step 2 截屏
Application.CaptureScreenshot(_path);
Step3 转换成byte[]
FileStream _fs = new FileStream(_path, FileMode.Open);
byte[] _byteDate = new byte[_fs.Length];
Step4 转换成Texture2D
Texture2D _image = new Texture2D(100, 100);
image.LoadImage(_byteDate);