Created
May 23, 2018 02:35
-
-
Save lyokato/4dc557d4283872f24c924ec259e7e814 to your computer and use it in GitHub Desktop.
This file contains 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
public static BatteryStatus batteryStatus | |
{ | |
get { | |
#if UNITY_EDITOR_OSX | |
return BatteryStatus.NotCharging; | |
#else | |
return OVRP_1_1_0.ovrp_GetSystemBatteryStatus(); | |
#endif | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment