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

NetworkConnection.playerControllers

public List<PlayerController> playerControllers;

Description

The list of players for this connection.

In most cases this will be a single player. But, for "Couch Multiplayer" there could be multiple players for a single client. To see the players on your own client see ClientScene.localPlayers list.

对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答