Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


PackAtlases(SpriteAtlas[], BuildTarget, bool)

Pack all the provided SpriteAtlas for the particular BuildTarget.
Read time 1 minuteLast updated 12 days 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.