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

Script language

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

PlayerConnection.connected

public static bool connected;

Description

Returns true when Editor is connected to the player. When called in Editor, this function will always returns false.