Class MultiplayAuthoringServices
Provides access to the different services used for the Admin APIs and Deployment capabilities
Inherited Members
Namespace: Unity.Services.Multiplay.Authoring.Editor
Assembly: Unity.Services.Multiplayer.Multiplay.Authoring.Editor.dll
Syntax
public static class MultiplayAuthoringServices
Properties
Provider
The service provider
Declaration
public static IScopedServiceProvider Provider { get; }
Property Value
Type | Description |
---|---|
IScopedServiceProvider |
Methods
GetService<T>(IServiceProvider)
Get the service specified by the type T
Declaration
public static T GetService<T>(this IServiceProvider provider)
Parameters
Type | Name | Description |
---|---|---|
IServiceProvider | provider | Provider in which to find service |
Returns
Type | Description |
---|---|
T | The instance of the specified service if registered. Throws otherwise |
Type Parameters
Name | Description |
---|---|
T | Type to get |