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.

NetworkServer.localClientActive

public static bool localClientActive;

Description

True is a local client is currently active on the server.

This will be true for "Hosts" on hosted server games.