public void LanguageChanged() { string language = Options.GetLanguage(); fbPanel.SetLanguage(language); optionsPanel.SetLanguage(language); backToMainMenuPanel.SetLanguage(language); waitingForPlayerPanel.SetLanguage(language); roundResultPanel.SetLanguage(language); endGamePanel.SetLanguage(language); helpPanel.SetLanguage(language); tutoPanel.SetLanguage(language); quickMenu.SetLanguage(language); mainMenuPanel.SetLanguage(language); player1.SetLanguage(language); player2.SetLanguage(language); PlayerManager.Instance.Player1.playerName = player1.playerName.text; }