Class CommandsAndRPCCallsWork | Multiplayer HLAPI | 1.0.8
docs.unity.cn
    Show / Hide Table of Contents

    Class CommandsAndRPCCallsWork

    Inheritance
    Object
    CommandsAndRPCCallsWork
    Namespace: Global Namespace
    Syntax
    public class CommandsAndRPCCallsWork

    Methods

    CommandsAndRPCCallsWorkTest()

    Declaration
    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
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on 15 December 2020