public void _Hide() { isOn = false; UIMainControl.EnableInput(); UIMainControl.FadeOut(canvasGroup, 0.25f, thisObj); }
public void _Hide() { if (UIMainControl.InTouchMode()) { ClearTouchModeButton(); } UIMainControl.FadeOut(canvasGroup, 0.25f); StartCoroutine(DelayHide()); }
public void _Hide() { if (!thisObj.activeInHierarchy) { return; } UIMainControl.FadeOut(canvasGroup, 0.25f); StartCoroutine(DelayHide()); //thisObj.SetActive(false); }
public void _Hide() { if (!thisObj.activeInHierarchy) { return; } currentTower = null; GameControl.SelectTower(null); UIMainControl.FadeOut(canvasGroup, 0.25f); StartCoroutine(DelayHide()); }
IEnumerator DisplayItemRoutine(UIMsgItem item) { item.rectT.SetAsFirstSibling(); UIMainControl.FadeIn(item.canvasG, 0.1f, item.rootObj); StartCoroutine(ScaleRectTRoutine(item.rectT, .1f, scale, scaleZoomed)); yield return(StartCoroutine(UIMainControl.WaitForRealSeconds(.1f))); //yield return new WaitForSeconds(0.1f); StartCoroutine(ScaleRectTRoutine(item.rectT, .25f, scaleZoomed, scale)); yield return(StartCoroutine(UIMainControl.WaitForRealSeconds(.8f))); //yield return new WaitForSeconds(0.8f); UIMainControl.FadeOut(item.canvasG, 1.0f, item.rootObj); }
public void _Hide() { UIMainControl.FadeOut(canvasGroup, 0.25f); StartCoroutine(DelayHide()); }
public void _Hide(){ UIMainControl.FadeOut(canvasGroup, 0.25f, thisObj); }