Click or drag to resize

StrixBehaviourRpc Method (UID, String, Object)

Calls an RPC on a room member specified by UID.

Namespace:  SoftGear.Strix.Unity.Runtime
Assembly:  StrixUnityRuntime (in StrixUnityRuntime.dll) Version: 1.5.0
Syntax
C#
public void Rpc(
	UID to,
	string rpcName,
	params Object[] args
)

Parameters

to
Type: SoftGear.Strix.Client.CoreUID
rpcName
Type: SystemString
RPC method name.
args
Type: SystemObject
A list of method arguments. This should match the arguments in the method definition, both in number and respective types.
Remarks
The method has to be defined on the same class and marked with StrixRpcAttribute attribute. Target member must be in the same match room as you.
See Also