文档

Unity Engine

Unity Engine

PackAtlases(SpriteAtlas[], BuildTarget, bool)

Pack all the provided SpriteAtlas for the particular BuildTarget.
阅读时间1 分钟最后更新于 1 个月前

Definition

public static void PackAtlases(SpriteAtlas[] atlases, BuildTarget target, bool canCancel = true)

Parameters

An array containing the atlases to pack.

The target build platform.

canCancel

Whether the user can cancel the operation.