Example #1
0
 public void displayCancelQueueResult(bool result)
 {
     if (result)
     {
         UIControllerLobby.getInstance().closeQueueWindow();
     }
 }
Example #2
0
 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;
	}
Example #4
0
 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);
    }
Example #6
0
 public void displayReadyStates(bool result)
 {
     UIControllerLobby.getInstance().gameFoundPlayerAnswers(result);
 }
Example #7
0
 public void displayGReadyStateRequest(float seconds)
 {
     UIControllerLobby.getInstance().showGameFoundPanel(seconds);
 }
Example #8
0
 public void displayChatMessage(string senderUsername, string message)
 {
     //textChatOutput += senderUsername + ": " + message + "\n";
     UIControllerLobby.getInstance().showChatMessage(senderUsername + ": " + message);
 }