摘要: #if UNITY_EDITOR using System; using System.IO; using UnityEditor; using UnityEngine; public class TextureAlphaExport : MonoBehaviour { [MenuItem("MyT 阅读全文
posted @ 2023-03-17 23:57 yanghui01 阅读(65) 评论(0) 推荐(0) 编辑
摘要: UI图片在PC, Android, iOS平台上所用的格式设置为推荐的值。 #if UNITY_EDITOR using System.IO; using UnityEditor; using UnityEngine; public class UITextureConfig : AssetPost 阅读全文
posted @ 2023-03-17 23:09 yanghui01 阅读(97) 评论(0) 推荐(0) 编辑
摘要: Sprite Packer只能预览,没法拿到图集图片 菜单栏 -> Window -> 2D -> Sprite Packer 下面的工具可以将图集导出 #if UNITY_EDITOR using UnityEditor; using UnityEditor.Sprites; using Unit 阅读全文
posted @ 2023-03-17 22:38 yanghui01 阅读(95) 评论(0) 推荐(0) 编辑
摘要: Format a) Automatic使用对应平台推荐贴图格式(比如: Android为ETC)。 b) RGB 24bit, RGBA 32bit, RGB 16bit等都是所有平台通用的贴图格式。 Use Crunch Compression 是否使用2次压缩,这个是有损压缩,只有ETC, ET 阅读全文
posted @ 2023-03-17 00:38 yanghui01 阅读(347) 评论(0) 推荐(0) 编辑