编辑器中针对 SpriteAtlas 的方法扩展。
此方法仅对编辑器脚本公开。在播放模式下不可用。
| 添加 | 将一组资源添加到可打包对象列表中。 |
| GetMasterAtlas | 获取给定变体 Sprite Atlas 的主 Sprite Atlas。 |
| GetPackables | 返回图集中的所有当前打包的可打包对象。 |
| GetPackingSettings | 打包此 SpriteAtlas 时要使用的当前 SpriteAtlasPackingSettings。 |
| GetPlatformSettings | 返回您指定的构建目标的平台设置。 |
| GetTextureSettings | 此 SpriteAtlas 生成的打包纹理的当前 SpriteAtlasTextureSettings。 |
| IsIncludeInBuild | 检查此 Sprite Atlas 是否标记为包含在构建中。 |
| 删除 | 从图集的可打包对象列表中删除对象。 |
| SetIncludeInBuild | 定义此 Sprite Atlas 的打包纹理是否在打包完成后与 Sprite 一起包含在构建中。 |
| SetIsVariant | 设置此 Sprite Atlas 是否为变体。 |
| SetMasterAtlas | 设置一个图集作为主图集。 |
| SetPackingSettings | 设置打包此 SpriteAtlas 时要使用的 SpriteAtlasPackingSettings |
| SetPlatformSettings | 设置平台特定的设置。 |
| SetTextureSettings | 设置此 SpriteAtlas 生成的打包纹理的 SpriteAtlasTextureSettings。 |
| SetVariantScale | 设置用于缩小主纹理的值。 |