docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class EditorGameServiceRegistry

    Base implementation of the IEditorGameServiceRegistry

    Inheritance
    object
    EditorGameServiceRegistry
    Implements
    IEditorGameServiceRegistry
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.Services.Core.Editor
    Assembly: Unity.Services.Core.Editor.dll
    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

    ~EditorGameServiceRegistry()

    Destructor of the registry.

    Declaration
    protected ~EditorGameServiceRegistry()

    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
    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)