Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

Screen.autorotateToPortrait

public static bool autorotateToPortrait;

Description

This has the same functionality as Screen.autorotateToPortrait and also mimics platform-specific behavior in the Unity Editor.