PlayerSettings.useAnimatedAutorotation
static var useAnimatedAutorotation: bool;
Description

Let the OS autorotate the screen as the device orientation changes.