docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class CommandsAndRPCCallsWork

    Inheritance
    object
    CommandsAndRPCCallsWork
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Global Namespace
    Assembly: com.unity.multiplayer-hlapi.Tests.dll
    Syntax
    public class CommandsAndRPCCallsWork

    Methods

    CommandsAndRPCCallsWorkTest()

    Declaration
    [UnityTest]
    public IEnumerator CommandsAndRPCCallsWorkTest()
    Returns
    Type Description
    IEnumerator

    OnAddPlayer(NetworkMessage)

    Declaration
    public void OnAddPlayer(NetworkMessage netMsg)
    Parameters
    Type Name Description
    NetworkMessage netMsg

    OnClientConnected(NetworkMessage)

    Declaration
    public void OnClientConnected(NetworkMessage netMsg)
    Parameters
    Type Name Description
    NetworkMessage netMsg

    OnClientError(NetworkMessage)

    Declaration
    public void OnClientError(NetworkMessage netMsg)
    Parameters
    Type Name Description
    NetworkMessage netMsg

    OnSpawnPlayer(Vector3, NetworkHash128)

    Declaration
    public static GameObject OnSpawnPlayer(Vector3 pos, NetworkHash128 assetId)
    Parameters
    Type Name Description
    Vector3 pos
    NetworkHash128 assetId
    Returns
    Type Description
    GameObject

    OnUnSpawnPlayer(GameObject)

    Declaration
    public static void OnUnSpawnPlayer(GameObject unspawned)
    Parameters
    Type Name Description
    GameObject unspawned
    In This Article
    Back to top
    Copyright © 2025 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)