Screen.orientation

public static ScreenOrientation orientation;

Description

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


Did you find this page useful? Please give it a rating: