LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

This version of Unity is unsupported.

NetworkBehaviour.InvokeCommand

public bool InvokeCommand(int cmdHash, Networking.NetworkReader reader);

Parameters

cmdHashHash of the Command name.
readerParameters to pass to the command.

Returns

bool Returns true if successful.

Description

Manually invoke a Command.