This version of Unity is unsupported.
Method group is Obsolete

NetworkBehaviour.InvokeRPC

Obsolete The high level API classes are deprecated and will be removed in the future.

Declaration

public bool InvokeRPC(int cmdHash, NetworkReader reader);

Parameters

cmdHash Hash of the RPC name.
reader Parameters to pass to the RPC function.

Returns

bool Returns true if successful.

Description

Manually invoke an RPC function.