docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface IInitializablePackage

    Contract for objects able to register a set of IServiceComponent to a given CoreRegistry.

    Namespace: Unity.Services.Core.Internal
    Assembly: Unity.Services.Core.Internal.dll
    Syntax
    public interface IInitializablePackage

    Methods

    Initialize(CoreRegistry)

    Start the process of registering all IServiceComponent provided by this package to the given registry.

    Declaration
    Task Initialize(CoreRegistry registry)
    Parameters
    Type Name Description
    CoreRegistry registry

    The IServiceComponent container to use. It provides the available IServiceComponent and this package will register the provided IServiceComponent to it.

    Returns
    Type Description
    Task

    Return a handle to the asynchronous initialization process.

    In This Article
    Back to top
    Copyright © 2024 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)