StrixBehaviourRpcToOtherMembers Method (String, Object) |
Calls an RPC on all the clients in the match room except for this one.
Namespace:
SoftGear.Strix.Unity.Runtime
Assembly:
StrixUnityRuntime (in StrixUnityRuntime.dll) Version: 1.5.0
Syntax public void RpcToOtherMembers(
string rpcName,
params Object[] args
)
Parameters
- 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.
See Also