美文网首页
通过Texture转换成Sprite

通过Texture转换成Sprite

作者: Kyle_An | 来源:发表于2019-01-16 11:49 被阅读0次
    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