I use this code to rotate my GameObject:
transform.RotateAround(new Vector3(0, 1, 0), horizontalAngle);
transform.RotateAround(new Vector3(1, 0, 0), -verticalAngle);
Rotation around Y is OK, but around X not - it rotates around global axis. If I change methods to RotateAroundLocal, it still rotates around global X axis. What’s wrong?