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