Class RpcTests.RpcTestNB
Inheritance
RpcTests.RpcTestNB
Syntax
public class RpcTestNB : NetworkBehaviour
Methods
MyClientRpc()
Declaration
public void MyClientRpc()
MyServerRpc(UInt64, ServerRpcParams)
Declaration
public void MyServerRpc(ulong clientId, ServerRpcParams param = default(ServerRpcParams))
Parameters
MyTypedServerRpc(Vector3, Vector3[], FixedString32Bytes)
Declaration
public void MyTypedServerRpc(Vector3 param1, Vector3[] param2, FixedString32Bytes param3)
Parameters
Type |
Name |
Description |
Vector3 |
param1 |
|
Vector3[] |
param2 |
|
FixedString32Bytes |
param3 |
|
Events
OnClient_Rpc
Declaration
public event Action OnClient_Rpc
Event Type
OnServer_Rpc
Declaration
public event Action<ulong, ServerRpcParams> OnServer_Rpc
Event Type
OnTypedServer_Rpc
Declaration
public event Action<Vector3, Vector3[], FixedString32Bytes> OnTypedServer_Rpc
Event Type