logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Namespace Serenity.Shared.Constants

    Classes

    CommonNames

    Centralized constants for common naming conventions and identifiers

    CommonNames.ReflectionProperties

    Property names used for reflection operations

    CommonNames.Scenes

    Scene names used in the application

    CommonNames.Timers

    Timer names used throughout the application

    CommonNames.Wrappers

    GameObject wrapper names

    ConfigurationKeys

    Centralized constants for configuration keys

    ConfigurationKeys.ReflectionFields

    Reflection field names for Unity installer

    ContextIdentifiers

    Centralized constants for context identifiers used in asset prewarming and initialization

    EditorStyleNames

    Centralized constants for Unity Editor UI styles and interface elements

    EditorStyleNames.GuiStyles

    Unity Editor GUI style names

    EditorStyleNames.Icons

    Unity Editor icon names for EditorGUIUtility.IconContent

    EditorStyleNames.Labels

    Unity Editor field labels and headers

    EditorStyleNames.UndoOperations

    Unity Editor undo operation names

    ErrorMessages

    Centralized constants for error and validation messages

    ErrorMessages.Configuration

    Configuration validation error messages

    ErrorMessages.Menu

    Menu and initialization error messages

    ErrorMessages.ResourceLoading

    Resource loading error messages

    ErrorMessages.Services

    Service dependency error messages

    ErrorMessages.UiComponents

    UI component validation error messages

    ErrorMessages.Validation

    General validation error messages

    InstallationConstants

    Constants for installation and service management

    InstallationConstants.ComponentNames

    Unity component and GameObject names

    InstallationConstants.ContextIds

    Context identifiers for asset prewarming and grouping

    InstallationConstants.EditorLabels

    Unity Inspector and Editor labels

    InstallationConstants.LogPrefixes

    Debug and logging prefixes

    InstallationConstants.ModuleLabels

    Module labels for asset prefetching.

    This nested class is a thin compatibility shim that re-exports the canonical constants defined in ModuleLabels. New code should reference ModuleLabels directly; no Addressables label string literal is allowed to live outside ModuleLabels.

    InstallationConstants.ReflectionProperties

    Property names used for reflection

    InstallationConstants.SceneNames

    Scene and asset related names

    InstallationConstants.ServiceNames

    Service creation and registration names

    InstallationConstants.TimerIds

    Timer identifiers

    InstallationConstants.TypeLabels

    Compatibility shim that re-exports the canonical type labels defined in ModuleLabels.Types.

    LoggingConstants

    Centralized constants for debug logging prefixes and messages

    LoggingConstants.Indicators

    Log level indicators

    LoggingConstants.Prefixes

    Debug log prefixes for different modules

    LoggingConstants.Templates

    Common log message templates

    ModalConstants

    Constants used in the modal system.

    ModalConstants.Ids

    The Ids used in the modal system.

    ModalConstants.Names

    The names of modal components.

    ModuleLabels

    Single authoritative source for Serenity Addressables label string values (both module and type labels). Any code that needs to assign or query a Serenity Addressables label must reference these constants and must not hard-code the underlying string anywhere else.

    ModuleLabels.Combinations

    Common module label combinations used across the codebase.

    ModuleLabels.Types

    Addressables type labels for asset-shape based filtering.

    PerformanceConstants

    Centralized constants for memory and performance limits

    PerformanceConstants.Buffers

    Buffer and capacity constants

    PerformanceConstants.Limits

    Recursion limits

    PerformanceConstants.PrefetchBudget

    Default prefetch budget values

    ServiceNames

    Centralized constants for service names used throughout the application

    TimingConstants

    Centralized constants for timing and performance values

    TimingConstants.Delays

    Delay values in milliseconds

    TimingConstants.Thresholds

    Performance threshold values

    UiTemplateNames

    Centralized constants for UI component template names

    In this article
    © 2026 Serenity. All Rights Reserved