Ejemplo n.º 1
0
 public virtual void Hide()
 {
     isAwaken = true;
     CacheRootCanvas.enabled       = false;
     CacheGraphicRaycaster.enabled = false;
     CacheRoot.SetActive(false);
     onHide.Invoke();
 }
Ejemplo n.º 2
0
 public virtual void Hide()
 {
     isAwaken = true;
     CacheRootCanvas.enabled       = false;
     CacheGraphicRaycaster.enabled = false;
     CacheRoot.SetActive(false);
     onHide.Invoke();
     this.InvokeInstanceDevExtMethods("Hide");
 }
Ejemplo n.º 3
0
 public virtual void Show()
 {
     isAwaken = true;
     CacheRootCanvas.enabled       = true;
     CacheGraphicRaycaster.enabled = true;
     if (!CacheRoot.activeSelf)
     {
         CacheRoot.SetActive(true);
     }
     onShow.Invoke();
     if (moveToLastSiblingOnShow)
     {
         CacheRoot.transform.SetAsLastSibling();
     }
 }