Exemple #1
0
 private void setGunLv1()
 {
     gunType = 1;
     closeAll();
     Gun_top.closeFire();
     Gun_left.openFire();
     Gun_right.openFire();
 }
Exemple #2
0
 void exchangeGun()
 {
     if (doubleGunTimer > 0)
     {
         topGun.stopFire();
         leftGun.openFire();
         rightGun.openFire();
     }
     else
     {
         topGun.openFire();
         leftGun.stopFire();
         rightGun.stopFire();
     }
 }
Exemple #3
0
 // Use this for initialization
 void Start()
 {
     spriteRenderer = gameObject.GetComponent <SpriteRenderer> ();
     mainCamera     = Camera.main;
     topGun.openFire();
 }