docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class PlayAssetDeliveryInitialization

    IInitializableObject that configures Addressables for loading content from asset packs.

    Inheritance
    object
    PlayAssetDeliveryInitialization
    Implements
    IInitializableObject
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEngine.AddressableAssets.Android
    Assembly: Unity.Addressables.Android.dll
    Syntax
    [Serializable]
    public class PlayAssetDeliveryInitialization : IInitializableObject

    Methods

    Initialize(string, string)

    Initialize a constructed object.

    Declaration
    public bool Initialize(string id, string data)
    Parameters
    Type Name Description
    string id

    The id of the object.

    string data

    Serialized data for the object.

    Returns
    Type Description
    bool

    The result of the initialization.

    InitializeAsync(ResourceManager, string, string)

    Async operation for initializing a constructed object.

    Declaration
    public virtual AsyncOperationHandle<bool> InitializeAsync(ResourceManager rm, string id, string data)
    Parameters
    Type Name Description
    ResourceManager rm

    The current instance of Resource Manager.

    string id

    The id of the object.

    string data

    Serialized data for the object.

    Returns
    Type Description
    AsyncOperationHandle<bool>

    Async operation

    LogWarnings(string)

    Determines whether warnings should be logged during initialization.

    Declaration
    public bool LogWarnings(string data)
    Parameters
    Type Name Description
    string data

    The JSON serialized PlayAssetDeliveryInitializationData object

    Returns
    Type Description
    bool

    True to log warnings, otherwise returns false. Default value is true.

    Implements

    UnityEngine.ResourceManagement.Util.IInitializableObject
    In This Article
    Back to top
    Copyright © 2026 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)