hutao1994  发表于 2016-12-13 14:31:36  
21#
给力!元素有你更精彩
回复 收起回复
使用道具
hutao1994  发表于 2016-12-13 14:31:42  
22#
给力!元素有你更精彩
回复 收起回复
使用道具
hutao1994  发表于 2016-12-13 14:31:52  
23#
给力!元素有你更精彩
回复 收起回复
使用道具
hutao1994  发表于 2016-12-13 14:31:55  
24#
给力!元素有你更精彩
回复 收起回复
使用道具
hutao1994  发表于 2016-12-13 14:31:59  
25#
给力!元素有你更精彩
回复 收起回复
使用道具
虚文  发表于 2018-11-19 16:28:06  
27#
破碎是unity插件吗
回复 收起回复
使用道具
qq_Joey_bbk  发表于 2019-1-27 10:24:56  
28#
谢谢分享@@@@@@@@@@@
回复 收起回复
使用道具
王宝库  发表于 2019-2-13 20:21:46  
29#
不错的的资源,谢谢分享
回复 收起回复
使用道具
AUDA  发表于 2019-3-8 09:34:30  
30#
教我动效的事情就拜托你了!
回复 收起回复
使用道具
kuanyidairen235  发表于 2019-10-9 09:16:18  
31#
private IEnumerator CaptureByRect(Rect mRect, string mFileName)
    {
        //等候渲染线程完毕  
        yield return new WaitForEndOfFrame();
        //初始化Texture2D  
        Texture2D mTexture = new Texture2D((int)mRect.width, (int)mRect.height, TextureFormat.RGB24, false);
        //读取屏幕像素信息并存储为纹理数据  
        mTexture.ReadPixels(mRect, 0, 0);
        mTexture.Apply();
        //将图片信息编码为字节信息  
        byte[] bytes = mTexture.EncodeToPNG();
        //常州微信公众平台保管  
        System.IO.File.WriteAllBytes(mFileName, bytes);
     }private IEnumerator CaptureByRect(Rect mRect, string mFileName)
    {
        //等候渲染线程完毕  
        yield return new WaitForEndOfFrame();
        //初始化Texture2D  
        Texture2D mTexture = new Texture2D((int)mRect.width, (int)mRect.height, TextureFormat.RGB24, false);
        //读取屏幕像素信息并存储为纹理数据  
        mTexture.ReadPixels(mRect, 0, 0);
        mTexture.Apply();
        //将图片信息编码为字节信息  
        byte[] bytes = mTexture.EncodeToPNG();
        //常州微信公众平台保管  
        System.IO.File.WriteAllBytes(mFileName, bytes);
     }private IEnumerator CaptureByRect(Rect mRect, string mFileName)
    {
        //等候渲染线程完毕  
        yield return new WaitForEndOfFrame();
        //初始化Texture2D  
        Texture2D mTexture = new Texture2D((int)mRect.width, (int)mRect.height, TextureFormat.RGB24, false);
        //读取屏幕像素信息并存储为纹理数据  
        mTexture.ReadPixels(mRect, 0, 0);
        mTexture.Apply();
        //将图片信息编码为字节信息  
        byte[] bytes = mTexture.EncodeToPNG();
        //常州微信公众平台保管  
        System.IO.File.WriteAllBytes(mFileName, bytes);
     }
回复 收起回复
使用道具
小小白1994  发表于 2021-4-9 10:15:10  
32#
感谢楼主分享
回复 收起回复
使用道具
12

快来发表你宝贵的意见吧!

快速回复 返回顶部 返回列表