docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface IInitializablePackageV2

    For package inializers that supports multiple instances and identities.

    Inherited Members
    IInitializablePackage.Initialize(CoreRegistry)
    Namespace: Unity.Services.Core.Internal
    Assembly: Unity.Services.Core.Internal.dll
    Syntax
    public interface IInitializablePackageV2 : IInitializablePackage

    Methods

    InitializeInstanceAsync(CoreRegistry)

    Initializes an instance of the service.

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

    The core registry to retrieve from and register to.

    Returns
    Type Description
    Task

    Register(CorePackageRegistry)

    Registers itself to the core package registry.

    Declaration
    void Register(CorePackageRegistry registry)
    Parameters
    Type Name Description
    CorePackageRegistry registry

    The package registry to register to.

    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)