
It looks like you're new here. If you want to get involved, click one of these buttons!
Hey I was watching Brackeys' shooting with Raycasts - Unity tutorial. I made the muzzleflash but when I pressed play it just keep playing the muzzleflash. I wanted to make the gun, when pressed with left mouse button to play the muzzleflash.
Here's the code...
btw kerusakan mean damage, jarak distance and kecepatan tembak fire rate.
Thanks for your help!
Answers
in ur Particle system turn off looping And in the input. GetButton change it to Input.GetMouseButtonDown(0) && Time.time....