is there a code snippet somewhere where you can use your mouse to rotate an object?
(for example in the inventory screen where you’d like to see a character from all 360 degrees)
if (Input.GetAxis("Mouse X")>0){
//rotate player right
}
else if(Input.GetAxis("Mouse Y")<0){
//rotate player left
}