Legacy Documentation: Version 5.1
LanguageEnglish
  • C#
  • JS

Script language

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

PlayerSpawnMethod.Random

Switch to Manual

Description

Spawn players at a randomly chosen starting position.

A NetworkStartPosition will be randomly chosen by the NetworkManager from the set of NetworkStartPositions in the current scene.