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.

NetworkIdentity.serverOnly

public bool serverOnly;

Description

Flag to make this object only exist when the game is running as a server (or host).