I am developing an car game for android with an UI steering wheel to control the car. I'm following Answer example for the wheel rotation. This is the code to rotate the wheel.
rectT.localEulerAngles = Vector3.back * wheelAngle;
This code working completely fine in unity and in the portrait mode of actual device.
But in the landscape modeof actual devices , the rotation get inverted. Please help me to solve this problem. Thank you