C# Class Tango.OrientationManager

Manages the orientation of the screen.
Show file Open project: ashomk/beerpong Class Usage Examples

Public Methods

Method Description
GetScreenOrientation ( ) : ScreenOrientation

Gets the Screen orientation.

GetWorldRotation ( ) : Quaternion

Get the current world rotation.

Method Details

GetScreenOrientation() public static method

Gets the Screen orientation.
public static GetScreenOrientation ( ) : ScreenOrientation
return ScreenOrientation

GetWorldRotation() public static method

Get the current world rotation.
public static GetWorldRotation ( ) : Quaternion
return UnityEngine.Quaternion