// MIT License - Copyright (c) 2026 wallstop // Full license text: https://github.com/wallstop/unity-helpers/blob/main/LICENSE namespace WallstopStudios.UnityHelpers.Editor.Sprites { #if UNITY_EDITOR using System; /// /// Defines pivot point positions for extracted sprites. /// public enum PivotMode { /// /// Obsolete value. Use for default centered pivot. /// [Obsolete("Use Center for default centered pivot.")] None = 0, /// /// Center pivot point (0.5, 0.5). /// Center = 1, /// /// Bottom-left corner pivot point (0, 0). /// BottomLeft = 2, /// /// Top-left corner pivot point (0, 1). /// TopLeft = 3, /// /// Bottom-right corner pivot point (1, 0). /// BottomRight = 4, /// /// Top-right corner pivot point (1, 1). /// TopRight = 5, /// /// Left center pivot point (0, 0.5). /// LeftCenter = 6, /// /// Right center pivot point (1, 0.5). /// RightCenter = 7, /// /// Top center pivot point (0.5, 1). /// TopCenter = 8, /// /// Bottom center pivot point (0.5, 0). /// BottomCenter = 9, /// /// Custom pivot point using the specified custom pivot coordinates. /// Custom = 10, } #endif }