Class RpcTestComponent
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.TestHelpers.Runtime.Metrics
Assembly: Unity.Netcode.TestHelpers.Runtime.dll
Syntax
public class RpcTestComponent : NetworkBehaviour
  Methods
MyClientRpc(ClientRpcParams)
Declaration
[ClientRpc]
public void MyClientRpc(ClientRpcParams rpcParams = default)
  Parameters
| Type | Name | Description | 
|---|---|---|
| ClientRpcParams | rpcParams | 
MyServerRpc()
Declaration
[ServerRpc]
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 |