This version of Unity is unsupported.
Method group is Obsolete

NetworkBehaviour.InvokeCommand

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

Declaration

public bool InvokeCommand(int cmdHash, NetworkReader reader);

Parameters

cmdHash Hash of the Command name.
reader Parameters to pass to the command.

Returns

bool Returns true if successful.

Description

Manually invoke a Command.