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