Reply To: Im getting a delay from when I click the left mouse and the shell ejects, then when the sound is played. I put print stat…

Forum Archive Im getting a delay from when I click the left mouse and the shell ejects, then when the sound is played. I put print stat… Reply To: Im getting a delay from when I click the left mouse and the shell ejects, then when the sound is played. I put print stat…

#24924
Jonathan Gonzalez
Participant

    Not really sure why you’re getting a delay on the bullet shell ejecting. Make sure you have the Eject function in the correct spot within the Fire function. You can also test it out separately by including a “Input.GetButtonDown(“Fire1″)” in the Eject function.

    Make sure you remove it from the Fire function if you do this separately. Also ensure the Eject function is in the Update function so it knows if you’re pressing a button. Hope that makes sense, just a few things to try out.