网站首页
编程语言
数据库
系统相关
其他分享
编程问答
tempTexture2D
2024-08-01
RawImage保存图片
usingSystem.IO;usingUnityEngine;usingUnityEngine.UI;publicclassSaveRawImageAsPNG:MonoBehaviour{publicRawImagerawImage;publicvoidSaveImage(){if(rawImage.textureisTexture2Dtexture2D){//