找回密码
 立即注册
搜索

[编辑器/功能拓展] PolyImage 1.0.1

[复制链接]
108 |0
发表于 2023-7-26 10:07:51 | 显示全部楼层 |阅读模式



Requires Unity 5.0.4 or higher.
This package supports Polygon Sprites from Texturepacker:
- save pixels to draw
- pack more sprites into one sheet
- optimize memory and performance at the same time!

PolyImage is a subclass of Image so no more API needed. It's also easy to convert existing Images and enjoy without modifying existing scripts!

For now Simple & Slice are supported, and we are working with Tile & Fill cases.
TexturePacker Importer can be used to import packed data from TexturePacker easily. Or you can even use Sprite.vertices and Sprite.triangles to set manually.



需要Unity 5.0.4或更高版本。
这个包支持来自Texturepacker的多边形精灵:
-保存像素绘制
-将更多精灵装入一张表格
-优化内存和性能在同一时间!

PolyImage是Image的一个子类,所以不需要更多的API。它也很容易转换现有的图像和享受,而无需修改现有的脚本!

目前支持Simple和Slice,我们正在处理Tile和Fill的情况。
TexturePacker Importer可以很容易地从TexturePacker中导入打包的数据。或者你也可以用雪碧。顶点和精灵。需要手动设置的三角形。



回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

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