logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class UnityResourceUtils

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

    Inheritance
    object
    UnityResourceUtils
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.Global.Infrastructure.Utils
    Assembly: Serenity.UnityGlobal.Infrastructure.dll
    Syntax
    public static class UnityResourceUtils

    Methods

    LoadAll<T>()

    Loads all assets of type T from Resources.

    Declaration
    public static T[] LoadAll<T>() where T : Object
    Returns
    Type Description
    T[]

    Array of loaded assets of type T (empty if none found)

    Type Parameters
    Name Description
    T

    Type of assets to load

    In this article
    © 2026 Serenity. All Rights Reserved