Sprite sprite = Sprite.Create(activeLevels[0].texture, new Rect(0, 0, tex.width, tex.height), Vector2.zero);
Sprite sprite = Sprite.Create(activeLevels[0].texture, new Rect(0, 0, tex.width, tex.height), Vector2.zero);
本文标题:通过Texture转换成Sprite
本文链接:https://www.haomeiwen.com/subject/iuopdqtx.html
网友评论