IEnumerator ThrowLoop(){ while(true){ if (player){ player.TakeDamage(damage); } yield return new WaitForSeconds(throwing_interval); } }
IEnumerator ThrowLoop(){ while(true){ if (player){ player.TakeDamage(damage); } yield return new WaitForSeconds(throwing_interval); } }