private float GetYRotation() { this.rotationY += Input.GetAxis("Mouse Y") * this.sensitivityY.Value; this.rotationY = MouseLook2.ClampAngle(this.rotationY, this.minimumY, this.maximumY); return(this.rotationY); }
private float GetXRotation() { this.rotationX += Input.GetAxis("Mouse X") * this.sensitivityX.Value; this.rotationX = MouseLook2.ClampAngle(this.rotationX, this.minimumX, this.maximumX); return(this.rotationX); }