Example #1
0
 IEnumerator CoFadeOut(UIThing _thing)
 {
     yield return new WaitForSeconds(2f);
     _thing.gameObject.SetActive(false);
 }
Example #2
0
 public void MakeFadeOut(UIThing _thing)
 {
     StartCoroutine(CoFadeOut(_thing));
 }