示例#1
0
        private IEnumerator FadeOutTooltip()
        {
            tooltipNickname.alpha = 1;
            yield return(new WaitForSeconds(2f));

            StartCoroutine(tooltipNickname.FadeOut());
        }
示例#2
0
 public void ToggleCinematic(bool b)
 {
     if (b)
     {
         cinematicBars.FadeIn();
         gui.FadeOut();
     }
     else
     {
         cinematicBars.FadeOut();
         gui.FadeIn();
     }
 }
示例#3
0
 public void Hide()
 {
     StartCoroutine(canvasGroup.FadeOut(2.0f));
 }
示例#4
0
 private void OnMouseExit()
 {
     popupUI.FadeOut(this, .2f);
 }