Class RpcManyClientsObject
Inherited Members
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Namespace: Unity.Netcode.RuntimeTests
Assembly: solution.dll
Syntax
public class RpcManyClientsObject : NetworkBehaviour
Fields
Count
Declaration
public int Count
Field Value
Type | Description |
---|---|
int |
ReceivedFrom
Declaration
public List<ulong> ReceivedFrom
Field Value
Type | Description |
---|---|
List<ulong> |
Methods
NoParamsClientRpc()
Declaration
[ClientRpc]
public void NoParamsClientRpc()
OneParamClientRpc(int)
Declaration
[ClientRpc]
public void OneParamClientRpc(int value)
Parameters
Type | Name | Description |
---|---|---|
int | value |
ResponseServerRpc(ServerRpcParams)
Declaration
[ServerRpc(RequireOwnership = false)]
public void ResponseServerRpc(ServerRpcParams rpcParams = default)
Parameters
Type | Name | Description |
---|---|---|
ServerRpcParams | rpcParams |
TwoParamsClientRpc(int, int)
Declaration
[ClientRpc]
public void TwoParamsClientRpc(int value1, int value2)
Parameters
Type | Name | Description |
---|---|---|
int | value1 | |
int | value2 |
WithParamsClientRpc(ClientRpcParams)
Declaration
[ClientRpc]
public void WithParamsClientRpc(ClientRpcParams param)
Parameters
Type | Name | Description |
---|---|---|
ClientRpcParams | param |