// callback from character when someone disconnects, called locally on all clients public void OnPlayerLeft(int id) { _currentGameMode.OnPlayerLeft(id); _scoreUI.DisableUIOfDisconnectedPlayer(id); }