Ejemplo n.º 1
0
 public void UpdateAcceptButton(string yes)
 {
     if (acceptButton)
     {
         if (string.IsNullOrEmpty(yes))
         {
             acceptButton.SetActive(false);
         }
         else
         {
             acceptButton.SetActive(true);
             acceptButton.SetLabel(yes);
         }
     }
 }
Ejemplo n.º 2
0
 public void UpdateDeclineButton(string no)
 {
     if (declineButton)
     {
         if (string.IsNullOrEmpty(no))
         {
             declineButton.SetActive(false);
         }
         else
         {
             declineButton.SetActive(true);
             declineButton.SetLabel(no);
         }
     }
 }