docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method InitializeAsync

    InitializeAsync(ResourceManager, string, string)

    This is the async initialization.

    Declaration
    public AsyncOperationHandle<bool> InitializeAsync(ResourceManager resourceManager, string id, string dataStr)
    Parameters
    Type Name Description
    ResourceManager resourceManager

    The current ResourceManager to create the operation handle with.

    string id

    The object id. This value is usually the type name.

    string dataStr

    The serialized data.

    Returns
    Type Description
    AsyncOperationHandle<bool>

    Returns the operation handle. This will always be a completed operation since the initialization can be done synchronously.

    Implements
    IInitializableObject.InitializeAsync(ResourceManager, string, string)
    In This Article
    Back to top
    Copyright © 2025 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)