// Create public void CreateMatch() { string serverName = createName.text; bool usePassword = true; if (serverName.Equals("")) { return; } string serverPassword = createPassword.text; if (serverPassword.Equals("")) { usePassword = false; } int serverBuyIn = 20; if (Tools.CorrectInput(createBuyIn.text)) { serverBuyIn = Tools.MoneyToInt(createBuyIn.text); } networkManager.CreateMatch(serverName, serverPassword, serverBuyIn); }