As I didn’t use a toggle for ADSing, there was nothing to fix
If I’d kept to my original design, I wouldn’t have had a problem either, haha!
Same, I didn’t use a toggle, and had the zoom script on all guns, so there was no problem. However, I did test, removing my script from a single gun, and I could re-create his problem. I did end up fixing it the same way, as a ‘CYA’ but put the script back on all guns anyways, as mine does a bit more, and is more of an ‘iron sights’ script for some guns, and zoom on others, etc…
private void ZoomOut()
{
transform.localPosition = startGunPos;
zoomCamera.fieldOfView = zoomedOutFOV;
reticleCanvas.enabled = true;
rbPlayer.mouseLook.XSensitivity = startSensitivity;
rbPlayer.mouseLook.YSensitivity = startSensitivity;
}private void ZoomIn() { transform.localPosition = zoomGunPos; zoomCamera.fieldOfView = zoomedInFOV; reticleCanvas.enabled = false; rbPlayer.mouseLook.XSensitivity = zoomSensitivity; rbPlayer.mouseLook.YSensitivity = zoomSensitivity; }