摘要: 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, ... 阅读全文
posted @ 2014-02-24 10:34 Vital 阅读(3729) 评论(1) 推荐(1)