logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Namespace Serenity.Global.Infrastructure.Utils

    Classes

    AudioMixerDependencyCache

    Static cache for AudioMixer and AudioMixerGroup assets that keeps Addressables handles alive to prevent Unity from unloading these critical dependencies during the application lifecycle. This solves the issue where AudioMixerGroup references inside ScriptableObjects become "fake-null" when Addressables handles are released.

    UnityAddressableUtils

    Direct API to load ALL from Addressables (no filtering, no caching).
    Prefer the unified API: LoadAllFromAnyBlocking<T>(string)

    UnityAssetUtils

    Utility class for Unity asset loading operations including Addressables management, audio clip caching, and asset warm-up functionality with thread-safe operations.

    UnityAudioMixerGroupUtils

    Utility class for AudioMixerGroup operations

    UnityHierarchyUtils

    Helpers for navigating and querying the Unity scene hierarchy

    UnityMainThread

    Unity MonoBehaviour singleton for managing cross-thread operations and main thread dispatching.
    Provides thread-safe methods to execute actions and functions on Unity's main thread from background threads, with automatic bootstrap initialization and concurrent queue-based operation management.

    UnityParserUtils

    Helpers to parse objects to specific Unity types with error handling

    UnityResourceUtils

    Direct API to load ALL from Resources (no filtering, no async, no caching).
    Prefer the unified API: LoadAllFromAnyBlocking<T>(string)

    UnityUiUtils

    Helpers for Unity UI (uGUI) operations

    UnityUserSystemUtils

    Helpers to detect user system platform (desktop, mobile, consoles, web)

    UnityYamlUtils

    Utility class for parsing YAML content

    In this article
    © 2026 Serenity. All Rights Reserved