void GunHandler()
 {
     if (Input.GetAxis("Fire1P" + playerNum) > 0)
     {
         pwm.FireCurrentWeapon();
     }
 }
示例#2
0
 void GunHandler()
 {
     if (Input.GetAxis("Fire1") > 0)
     {
         pwm.FireCurrentWeapon();
     }
 }