logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Struct Entry

    Internal cache entry structure containing loaded asset, loading state, and size information.

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetType()
    Namespace: Serenity.AssetPrefetcher.Domain.ValueObjects
    Assembly: Serenity.AssetPrefetcher.Domain.dll
    Syntax
    public struct Entry

    Fields

    Loading

    Declaration
    public bool Loading
    Field Value
    Type Description
    bool

    Indicates whether the asset is currently being loaded.

    Obj

    Declaration
    public object Obj
    Field Value
    Type Description
    object

    The loaded asset object. Typed as object instead of the engine's native asset type because Domain must not reference UnityEngine — the same pattern used for the template properties on Serenity.Ui.Domain.Interfaces.IUiThemeComponents.

    Size

    Declaration
    public int Size
    Field Value
    Type Description
    int

    Estimated memory size of the asset in bytes.

    In this article
    © 2026 Serenity. All Rights Reserved