public void CameraFOV(float localMultiplier) { return; if (thisCamera == null) { thisCamera = transform.GetComponent <Camera>(); } //if (!Developer.IsDev) //{ // return; //} //if (Input.GetAxis("Mouse ScrollWheel") > 0 // Input.GetKey(KeyCode.KeypadPlus) // ) //{ // localMultiplier = -2; //} //else if (Input.GetAxis("Mouse ScrollWheel") < 0 //Input.GetKey(KeyCode.KeypadMinus) // ) //{ // localMultiplier=2; //} //else //{ // return; //} float fieldOfView = UMath.changeValSmooth(thisCamera.fieldOfView, localMultiplier, 1, MIN_FIELD_CAM, MAX_FIELD_CAM, camSensivity); thisCamera.fieldOfView = fieldOfView; }