Ejemplo n.º 1
0
 public void FrontBlockerClicked()
 {
     if (disableFrontBlockerOnClick)
     {
         FrontBlocker.SetActive(false);
     }
     if (frontBlockerAction != null)
     {
         frontBlockerAction.Invoke();
     }
 }
Ejemplo n.º 2
0
 public void DisableFrontBlocker()
 {
     FrontBlocker.SetActive(false);
     frontBlockerAction = null;
 }
Ejemplo n.º 3
0
 void Awake()
 {
     BackBlocker.SetActive(false);
     FrontBlocker.SetActive(false);
     main = AddContainer("MAIN", UIAlign.TOP_LEFT);
 }
Ejemplo n.º 4
0
 public void ActivateFrontBlocker(Action act, bool disableOnClick)
 {
     FrontBlocker.SetActive(true);
     disableFrontBlockerOnClick = disableOnClick;
     frontBlockerAction         = act;
 }