Exemple #1
0
 IEnumerator FadeinPanel6()
 {
     while (a6 > 0)
     {
         Chara6.GetComponent <Image>().color -= new Color(0, 0, 0, 0.01f);
         a6 -= 0.01f;
         yield return(null);
     }
 }
Exemple #2
0
 IEnumerator FadeoutPanel6()
 {
     while (a6 < 1)
     {
         Chara6.GetComponent <Image>().color += new Color(0, 0, 0, 0.01f);
         a6 += 0.01f;
         yield return(null);
     }
 }