I want to change mine y axis angle 20 degree less than exact angle, so i wrote the code as below
transform.rotation = Quaternion.Euler(transform.eulerAngles.x,transform.eulerAngles.y - 20f,transform.eulerAngles.z);
But the object keep rotating! How does it happen? What did I misunderstanding??