Legacy Documentation: Version 5.6 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

Packer.RebuildAtlasCacheIfNeeded

public static void RebuildAtlasCacheIfNeeded(BuildTarget target, bool displayProgressBar = false, Sprites.Packer.Execution execution = Execution.Normal);

Description

Rebuilds the Sprite atlas cache.

If Sprite atlas files are available, they will be remapped.