Esempio n. 1
0
 protected override void Ability()
 {
     //ROCKETBOOST YEAH
     gameObject.GetComponent <Rigidbody>().AddRelativeForce(Vector3.forward * BoostForce, ForceMode.VelocityChange);
     //AUDIO YEAH
     rocketBoost.Play();
     //OVERHEAT YEAH
     heatGen.ChangeHeat(heatGenerated, heatScalar);
 }
Esempio n. 2
0
 protected override void Ability()
 {
     gameObject.GetComponent <Rigidbody>().AddRelativeForce(Vector3.down * downforceFactor, ForceMode.Impulse);
     heatGen.ChangeHeat(heatGenerated, heatScalar);
 }
Esempio n. 3
0
 protected override void Ability()
 {
     gameObject.GetComponent <Rigidbody>().AddRelativeForce(Vector3.forward * overclockFactor * Time.deltaTime, ForceMode.Acceleration);
     heatGen.ChangeHeat(heatGenerated, heatScalar);
 }