Documentation

Unity Engine

Unity Engine

PackAtlases(SpriteAtlas[], BuildTarget, bool)

Pack all the provided SpriteAtlas for the particular BuildTarget.
Read time 1 minuteLast updated 2 months ago

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.