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