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