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.

ClientScene.localPlayers

public static List<PlayerController> localPlayers;

Description

A list of all players added to the game.

These are the players on this client, not all of the players in the game on the server. The client has no explicit knowledge of the player objects of other clients.