예제 #1
0
 void FadeOut()
 {
     if (colorValue > 0)
     {
         spriteR.color = new Color(colorValue -= lessColor, colorValue -= lessColor, colorValue -= lessColor, colorValue -= lessColor);
     }
     else
     {
         CombatManager.CombatFinished();
     }
 }