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

NetworkLobbyPlayer.OnClientReady

public void OnClientReady(bool readyState);

Parameters

readyStateWhether the player is ready or not.

Description

This is a hook that is invoked on clients when a LobbyPlayer switches between ready or not ready.

This function is called when the a client player calls SendReadyToBeginMessage() or SendNotReadyToBeginMessage().

See Also: SendReadyToBeginMessage, SendNotReadyToBeginMessage.

Did you find this page useful? Please give it a rating: