private IEnumerator FadeOutTooltip() { tooltipNickname.alpha = 1; yield return(new WaitForSeconds(2f)); StartCoroutine(tooltipNickname.FadeOut()); }
public void ToggleCinematic(bool b) { if (b) { cinematicBars.FadeIn(); gui.FadeOut(); } else { cinematicBars.FadeOut(); gui.FadeIn(); } }
public void Hide() { StartCoroutine(canvasGroup.FadeOut(2.0f)); }
private void OnMouseExit() { popupUI.FadeOut(this, .2f); }