Class RpcTestComponent
Inherited Members
Namespace: Unity.Netcode.TestHelpers.Runtime.Metrics
Syntax
public class RpcTestComponent : NetworkBehaviour
Methods
MyClientRpc(ClientRpcParams)
Declaration
public void MyClientRpc(ClientRpcParams rpcParams = default(ClientRpcParams))
Parameters
Type | Name | Description |
---|---|---|
ClientRpcParams | rpcParams |
MyServerRpc()
Declaration
public void MyServerRpc()
Events
OnClientRpcAction
Declaration
public event Action OnClientRpcAction
Event Type
Type | Description |
---|---|
Action |
OnServerRpcAction
Declaration
public event Action OnServerRpcAction
Event Type
Type | Description |
---|---|
Action |