This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using UnityEngine; | |
| using Cryptography = System.Security.Cryptography; | |
| using System.Text; | |
| #if UNITY_IOS | |
| using UnityEngine.iOS; | |
| #endif | |
| /// <summary> | |
| /// AdMobUtility |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using UnityEngine; | |
| public class DeviceOrientationManager : MonoBehaviour | |
| { | |
| private const float ORIENTATION_CHECK_INTERVAL = 0.5f; | |
| private float nextOrientationCheckTime; | |
| private static ScreenOrientation m_currentOrientation; | |
| public static ScreenOrientation CurrentOrientation |