Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


SpritePackerMode

Sprite Packer mode for the current project.
Read time 1 minuteLast updated 2 days ago

Definition

  • Type: Enum
  • Namespace: UnityEditor
  • Assembly: UnityEditor
public enum SpritePackerMode

Fields

Value

Description

AlwaysOnAtlasAlways pack all the SpriteAtlas.
BuildTimeOnlyAtlasPack all the SpriteAtlas when building player/bundles.
DisabledDoesn't pack sprites.
SpriteAtlasV2If enabled, will automatically migrate all *.spriteatlas assets to *.spriteatlasv2 assets. Old *.spriteatlas assets will be removed.
SpriteAtlasV2BuildIf enabled, pack all the SpriteAtlas when building player/bundles.