예제 #1
0
 // This just keeps checking to see if the player has collected the tablet and if so, then it checks if the player is pushing down space, then if so it shoots
 // a laster out.
 void Update()
 {
     if (Input.GetKeyDown(KeyCode.Space) && canShoot && !PMC.GetIsPaused())
     {
         StartCoroutine("Shoot");
     }
 }