コード例 #1
0
 public void OnTriggerEnter2D(Collider2D other)
 {
     if (other.gameObject.tag == "Character")
     {
         Debug.Log("death");
         audioController.DeathSound();
         StartCoroutine("DeathRetry");
         Time.timeScale = 0.0f;
     }
 }