I was wondering if these two change their value when the device is rotated.
float currentResolutionX = Screen.currentResolution.width; float currentResolutionY =