docs.unity3d.com
    Show / Hide Table of Contents

    Class EditorGameServiceRegistry

    Base implementation of the IEditorGameServiceRegistry

    Inheritance
    Object
    EditorGameServiceRegistry
    Namespace: Unity.Services.Core.Editor
    Syntax
    public sealed class EditorGameServiceRegistry : IEditorGameServiceRegistry

    Properties

    Instance

    Access to the editor game service registry

    Declaration
    public static EditorGameServiceRegistry Instance { get; }
    Property Value
    Type Description
    EditorGameServiceRegistry

    Methods

    Finalize()

    Destructor of the registry.

    Declaration
    protected void Finalize()

    GetEditorGameService<TIdentifier>()

    Get the instance of a registered IEditorGameService.

    Declaration
    public IEditorGameService GetEditorGameService<TIdentifier>()
        where TIdentifier : struct, IEditorGameServiceIdentifier
    Returns
    Type Description
    IEditorGameService

    Return the instance of the given IEditorGameService type if it has been registered.

    Type Parameters
    Name Description
    TIdentifier

    The type of the identifier for a service

    Implements
    IEditorGameServiceRegistry.GetEditorGameService<T>()
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023