void PlayerAttack() { StopAllCoroutines(); SoundManager.instance.PlaySE(1); // PlayerがEnemyに攻撃 player.Attack(enemy); enemyUI.UpadateUI(enemy); if (enemy.hp <= 0) { StartCoroutine(EndBattle()); } else { StartCoroutine(EnemyTurn()); } }