Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

PlayerSettings.useAnimatedAutorotation

static var useAnimatedAutorotation: bool;
static bool useAnimatedAutorotation;
static useAnimatedAutorotation as bool

Description

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