Esempio n. 1
0
 private void HideJoin()
 {
     btnJoinBet.gameObject.SetActive(false);
     btnChangeBet.gameObject.SetActive(true);
     if (!string.IsNullOrEmpty(GameModelChan.YourController.warningMessage))
     {
         btnChangeBet.collider.enabled = false;
         btnChangeBet.GetComponentInChildren <UISprite>().color = new Color(1f, 1f, 1f, 200 / 255f);
     }
 }
Esempio n. 2
0
 void Update()
 {
     if ((string.IsNullOrEmpty(txtRoomName.value) || txtRoomName.value == ((LobbyChan)GameManager.Instance.selectedLobby).nameLobby) && string.IsNullOrEmpty(txtChangePassword.value))
     {
         if (!btSave.gameObject.collider.enabled)
         {
             return;
         }
         btSave.GetComponentInChildren <UISprite>().color = new Color(1f, 1f, 1f, 90 / 255f);
         btSave.gameObject.collider.enabled = false;
     }
     else
     {
         if (btSave.gameObject.collider.enabled)
         {
             return;
         }
         btSave.GetComponentInChildren <UISprite>().color = Color.white;
         btSave.gameObject.collider.enabled = true;
     }
 }
Esempio n. 3
0
 private void ShowSyntax()
 {
     ShowSMSTemplate();
     btClose.GetComponentInChildren <UILabel>().text = btClose.GetComponentInChildren <UILabel>().text + "(" + _countDownValue + ")";
     StartCountDown(5);
 }