- Home /
I want my Jump sound play one time when jumping
I Can Play The Jump Sound Multiple Times While My Character Is Still In The Air And I Just Want The Character To Make The Jump Noise Only When He Is On The Ground. Here Is The Code
public AudioSource jump;
// Update is called once per frame
void Update()
{
if (Input.GetKeyDown(KeyCode.Space))
jump.Play();
}
}
Comment
Your answer
Follow this Question
Related Questions
Impact Sound When Jumping? (JavaScript) 1 Answer
I want my Jump sound play one time when jumping 1 Answer
Jumping sound not working after respawning 1 Answer
Automatic gun sound freaking out 4 Answers
Trigger Script on AudioListener 1 Answer