hi guys
I want the direction of the gun to change when I turn, but I could not rotate it.
right side;
Left side;
and code
transform.localscale = new vector3(-1,0,0)
and also center pivot point on middle