Legacy Documentation: Version 5.0
Language: English
  • C#
  • JS

Script language

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

Packer.RebuildAtlasCacheIfNeeded

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

Parameters

Description

Rebuilds the Sprite atlas cache.

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