Class EditorGameServiceRegistry
Base implementation of the IEditorGameServiceRegistry
Implements
Inherited Members
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 |