public var acelerateSound: AudioSource; // its attached to refenrenced
function Update()
{
if(Input.GetAxisRaw("Vertical") > 0 || Input.GetKey (KeyCode.Joystick1Button2))
{
accelerate = true;
acelerateSound.Play();
}
else
accelerate = false;
}
Problem is, if i keep the key down the sound overlaps itself and i want it ust to play when i press the key for the first time