Class RpcTests.GenericRpcTestNB<T>
Inheritance
RpcTests.GenericRpcTestNB<T>
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 RpcTests.GenericRpcTestNB<T> : NetworkBehaviour where T : unmanaged
Type Parameters
Name | Description |
---|---|
T |
Methods
MyServerRpc(T, ServerRpcParams)
Declaration
[ServerRpc]
public void MyServerRpc(T clientId, ServerRpcParams param = default)
Parameters
Type | Name | Description |
---|---|---|
T | clientId | |
ServerRpcParams | param |
Events
OnServer_Rpc
Declaration
public event Action<T, ServerRpcParams> OnServer_Rpc
Event Type
Type | Description |
---|---|
Action<T, ServerRpcParams> |