Esempio n. 1
0
    /// <summary>
    /// Create button method. Validates entered server name and launches game server.
    /// </summary>
    public void OnCreateClicked()
    {
        if (string.IsNullOrEmpty(matchNameInput.text))
        {
            menuUi.ShowInfoPopup("Server name cannot be empty!", null);
            return;
        }

        StartMatchmakingGame();
    }