Unity3D One Shot & Sound & Bullet Hole – C#

Demo : Script:

Gun Effect/Sound : freesound.org sound 37236

Shooting to mouse position – C#

For Bullet Animation, please remove comment tags from lines… Shooting to Mouse Position :

 

Unity3D Smooth Local rotation – JS

Code (Important this code only for x Axis!):