Enum LeaderboardBackgroundSlicing
How a CUSTOM background's sprite renders. Mirrors the Theme
Builder's own sprite-slot slicing options, minus Filled — a background authored with fillAmount 1
is indistinguishable from SIMPLE and this model authors no fillAmount.
Namespace: Serenity.Leaderboard.Infrastructure.Settings
Assembly: Serenity.UnityLeaderboard.Infrastructure.dll
Syntax
public enum LeaderboardBackgroundSlicing
Remarks
Append-only: Unity serializes enums by ordinal, so a member inserted anywhere but the end would renumber the ones after it and silently misplace every leaderboard view already authored in a consumer's project.
Fields
| Name | Description |
|---|---|
| KEEP_SPRITE | Leaves |
| NINE_SLICE |
|
| SIMPLE |
|
| THREE_SLICE_HORIZONTAL |
|
| THREE_SLICE_VERTICAL |
|
| TILED |
|