v1.0.0
2022.3+
Class MultiplayAuthoringServices
Provides access to the different services used for the Admin APIs and Deployment capabilities
Inheritance
System.Object
MultiplayAuthoringServices
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Unity.Services.Multiplay.Authoring.Editor
Syntax
public static class MultiplayAuthoringServicesProperties
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 |
|---|---|---|
| System.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 |