Class RpcTestComponent
Inherited Members
UnityEngine.Component.GetComponentInParent<T>(System.Boolean)
UnityEngine.Object.FindObjectsByType<T>(UnityEngine.FindObjectsSortMode)
UnityEngine.Object.FindObjectsOfType<T>(System.Boolean)
UnityEngine.Object.FindObjectsByType<T>(UnityEngine.FindObjectsInactive, UnityEngine.FindObjectsSortMode)
UnityEngine.Object.FindObjectOfType<T>(System.Boolean)
UnityEngine.Object.FindFirstObjectByType<T>()
UnityEngine.Object.FindAnyObjectByType<T>()
UnityEngine.Object.FindFirstObjectByType<T>(UnityEngine.FindObjectsInactive)
UnityEngine.Object.FindAnyObjectByType<T>(UnityEngine.FindObjectsInactive)
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 |