コード例 #1
0
 private IEnumerator DamagePlayer(status health)
 {
     while (true)
     {
         health.Hurt(0.5f);
         yield return(new WaitForSeconds(0.5f));
     }
 }