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