How to double my speed of my Player Game Object.

I am trying to add thrusters to my space ship and I know i have majority of the code right. But I dont know what to put in my brackets to increase the movement speed. Regular Movement Speed is 2.0f.

71497-thruster-speed.png

71498-thruster-speed-code.png

probably something like:

if (Input.GetKeyDown (KeyCode.Leftshift))
{
ThrusterSpeed = 4.0f;
}

if (Input.GetKeyDown (KeyCode.Leftshift))
{
ThrusterSpeed = 2.0f
}

i dont know if this is whta your looking for but if it is, ur welcome

I need the code that goes inside the brackets. I tried useing the thruster speed code you put and my ship isnt going any faster.