Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


CreateSpriteAtlas(string, SpriteAtlasRuntimeConfig, AtlasPage[])

Creates a new sprite atlas with the given name and runtime configuration and binds sprites to textures.
Read time 1 minuteLast updated 12 days ago

Definition

public static SpriteAtlas CreateSpriteAtlas(string name, SpriteAtlasRuntimeConfig config, AtlasPage[] pages)

Parameters

name

The name of the sprite atlas also used as Tag.


Array of atlas pages containing sprites and packed textures.

Returns

Type

Description

SpriteAtlas