Beispiel #1
0
 public virtual void Hide()
 {
     isAwaken = true;
     CacheRootCanvas.enabled       = false;
     CacheGraphicRaycaster.enabled = false;
     CacheRoot.SetActive(false);
     onHide.Invoke();
 }
Beispiel #2
0
 public virtual void Hide()
 {
     isAwaken = true;
     CacheRootCanvas.enabled       = false;
     CacheGraphicRaycaster.enabled = false;
     CacheRoot.SetActive(false);
     onHide.Invoke();
     this.InvokeInstanceDevExtMethods("Hide");
 }
Beispiel #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();
     }
 }