コード例 #1
0
 void Update()
 {
     if (isDead)
     {
         deathTimer += Time.deltaTime;
         if (deathTimer > deathLimit)
         {
             Game.endGame();
         }
     }
 }