public override void Press()
 {
     if (activeShield != null)
     {
         weaponEnergy--;
         activeShield.Throw();
         activeShield = null;
     }
     else if (weaponEnergy > 0)
     {
         owner.throwTime = 0.2f;
         if (owner.gearActive_Power)
         {
             Spawn(true);
             weaponEnergy -= 4f;
         }
         else
         {
             Spawn(false);
             weaponEnergy -= 3f;
         }
     }
     weaponEnergy = Mathf.Clamp(weaponEnergy, 0f, 28f);
 }
 private void Spawn(bool power)
 {
     activeShield = Object.Instantiate(power ? meteorShield.gameObject : starShield.gameObject).GetComponent <PlWp_StarShield>();
     activeShield.transform.position = owner.transform.position;
     activeShield.owner = owner;
 }