摘要:
private void OnScreenCapture () { //yield return new WaitForEndOfFrame(); try { int width = Screen.width; int height = Screen.height-reduceHigh; Texture2D tex = new Texture2D (width, height, TextureFormat.RGB24, false); tex.ReadPixels (new Rect (0, bottomStarH, width, height), 0, 0, ...
阅读全文