Legacy Documentation: Version 2018.2 (Go to current version)
LanguageEnglish
  • C#

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.

对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答