private void OnJoinClick() { Text playerNameText = playerSettingsPanel.RequireTransform("InputField/Text").GetComponent <Text>(); string playerName = playerNameText.text; if (string.IsNullOrEmpty(playerName)) { NotifyUser("Survival is a systemic initiative, but even the lowliest of cogs needs a designation in order to effectively coordinate the collective effort towards a - desireable, outcome.\n\n" + "Please identify yourself so that your presence may be indexed with local Survivor PDA telemetry instruments..."); return; } uGUI_ColorPicker colorPicker = playerSettingsPanel.GetComponentInChildren <uGUI_ColorPicker>(); Color playerColor = colorPicker.currentColor; SetCurrentPreference(playerName, playerColor); PlayerSettings playerSettings = new PlayerSettings(playerColor); AuthenticationContext authenticationContext = new AuthenticationContext(playerName); multiplayerSession.RequestSessionReservation(playerSettings, authenticationContext); }