예제 #1
0
 //Getting ready to the actual game
 void PlayingBehaviour()
 {
     anim.enabled = false;
     if (!isShooting)
     {
         isShooting = true;
         InvokeRepeating("Fire", 0.000002f, fireRate);
     }
     lives.LivesUpdate(playerHealth);
 }