docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class CommonMultiplayerBackendService

    The entry point of the Common Multiplayer Backend package. Once initialized, you can use the Instance singleton. features.

    Inheritance
    object
    CommonMultiplayerBackendService
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.Services.CommonMultiplayerBackend
    Assembly: Unity.Services.Multiplayer.dll
    Syntax
    public static class CommonMultiplayerBackendService

    Properties

    Instance

    The default singleton instance to access the Common Multiplayer Backend service.

    Declaration
    public static ICommonMultiplayerBackendService Instance { get; }
    Property Value
    Type Description
    ICommonMultiplayerBackendService
    Exceptions
    Type Condition
    ServicesInitializationException

    This exception is thrown if the

    UnityServices.InitializeAsync()
    has not finished before accessing the singleton.
    In This Article
    Back to top
    Copyright © 2024 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)