private void Start() { // The rate that the launch force charges up is the range of possible forces by the max charge time. ChargeSpeed = (MaxLaunchForce - MinLaunchForce) / MaxChargeTime; tankAudio = GetComponent <TankAudio>(); tankMovement = GetComponent <TankMovement>(); }
private void Awake() { rigidBody = GetComponent <Rigidbody>(); tankAudio = GetComponent <TankAudio>(); }