public void displayCancelQueueResult(bool result) { if (result) { UIControllerLobby.getInstance().closeQueueWindow(); } }
void Update_Lobby() { if (Input.GetKeyUp(KeyCode.Return)) { if (!UIControllerLobby.getInstance().chatInput.selected) { UIControllerLobby.getInstance().chatInput.selected = true; } } }
public static UIControllerLobby getInstance() { if (_instance == null) { GameObject go = GameObject.Find("ControllerLobby"); if (go != null) _instance = go.GetComponent<UIControllerLobby>(); } return _instance; }
public void displayQueueResult(bool result) { if (result) { UIControllerLobby.getInstance().showGameSearchingPanel(); } else { UIControllerLobby.getInstance().closeQueueWindow(); } }
public static UIControllerLobby getInstance() { if (_instance == null) { GameObject go = GameObject.Find("ControllerLobby"); if (go != null) { _instance = go.GetComponent <UIControllerLobby>(); } } return(_instance); }
public void displayReadyStates(bool result) { UIControllerLobby.getInstance().gameFoundPlayerAnswers(result); }
public void displayGReadyStateRequest(float seconds) { UIControllerLobby.getInstance().showGameFoundPanel(seconds); }
public void displayChatMessage(string senderUsername, string message) { //textChatOutput += senderUsername + ": " + message + "\n"; UIControllerLobby.getInstance().showChatMessage(senderUsername + ": " + message); }