2022-07-15 11:02:17 -04:00

33 lines
954 B
C#

namespace AssetRipper.Core.Classes.EditorSettings
{
/// <summary>
/// Sprite Packer mode for the current project.<br/>
/// <see href="https://github.com/Unity-Technologies/UnityCsReference/blob/master/Editor/Mono/EditorSettings.bindings.cs"/>
/// </summary>
public enum SpritePackerMode
{
/// <summary>
/// Doesn't pack sprites.
/// </summary>
Disabled = 0,
/// <summary>
/// Updates the sprite atlas cache when the Player or bundles builds containing Sprite with the legacy packing tag.
/// </summary>
BuildTimeOnly = 1,
/// <summary>
/// Always maintain an up-to-date sprite atlas cache for Sprite with packing tag (legacy).
/// </summary>
AlwaysOn = 2,
/// <summary>
/// Pack all the SpriteAtlas when building player/bundles.
/// </summary>
BuildTimeOnlyAtlas = 3,
/// <summary>
/// Always pack all the SpriteAtlas.
/// </summary>
AlwaysOnAtlas = 4,
SpriteAtlasV2 = 5,
SpriteAtlasV2Build = 6,
}
}