|Topic was automatically imported from the old Question2Answer platform.
I wanted to make a sound by pressing a button so I attached a script to main scene and connected the button to it. And typed like this
Although I could hear when I pressed the button, the sounds are repeated again and again even if I pressed the button just once. Is there any way to stop it from repeating???