unity3d中用ReadRixels实现截屏

在unity中利用ReadRixels可以实现截屏,现在分析一下各个参数的作用。 using System.Collections; using System.Collections.Generic; using UnityEngine; public class ScreenShot : MonoBehaviour {     public Texture2D texture;//建立一个纹理图
相关文章
相关标签/搜索