public void OnJoinButton() { if (dropdownMatches.value >= 0 && dropdownMatches.value < dropdownMatches.options.Count) { string selected = dropdownMatches.options[dropdownMatches.value].text; netManager.OnJoinMatch(selected); } }
public void OnJoinButton() { if (dropdownMatches.value >= 0 && dropdownMatches.value < dropdownMatches.options.Count) { string selected = dropdownMatches.options[dropdownMatches.value].text; netManager.OnJoinMatch(selected); } }