Legacy Documentation: Version 5.2
LanguageEnglish
  • C#
  • JS

Script language

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

NetworkServer.SendToClientOfPlayer<MSG>(GameObject,short,MSG)

Switch to Manual

Parameters

player The players game object.
msg Message struct.
msgType Message type.

Description

Send a message to the client which owns the given player object instance.