I want to rotate a GameObject through mouse movement between -20° and +20°.
I know that there's a possibility to grab the smoothed Input through
Input.GetAxis("Horizontal"); and Input.GetAxis("Vertical"); which returns float values between -1 and 1
It would be nice if there would exist something like
Input.GetMouseAxis("Horizontal"); or Input.GetMouseAxis("Horizontal");.
But I the output shouldn't be influenced by keyboard. I'm sorry that I don't have much experience with Unity and its API.