29 lines
No EOL
952 B
C#
29 lines
No EOL
952 B
C#
namespace ShiroginSDK.Runtime.Shared.Constants
|
|
{
|
|
/// <summary>
|
|
/// Contains constants for UI animation, sorting layers, and general UI parameters.
|
|
/// </summary>
|
|
public static class UIConstants
|
|
{
|
|
// Animation Durations
|
|
public const float FadeDuration = 0.3f;
|
|
public const float PopupScaleDuration = 0.4f;
|
|
public const float NotificationLifetime = 2.5f;
|
|
|
|
// Alpha Values
|
|
public const float DimBackgroundAlpha = 0.75f;
|
|
public const float HiddenAlpha = 0f;
|
|
public const float VisibleAlpha = 1f;
|
|
|
|
// Sorting Layers
|
|
public const int BasePopupSortingOrder = 500;
|
|
public const int NotificationSortingOrder = 600;
|
|
|
|
// Default Canvas Names
|
|
public const string MainCanvasName = "MainCanvas";
|
|
public const string PopupCanvasName = "PopupCanvas";
|
|
|
|
// UI Layer Name
|
|
public const string UILayerName = "UI";
|
|
}
|
|
} |