AndroidGame
Provides methods and properties for accessing different Android game APIs.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Class
- Namespace: UnityEngine.Android
- Assembly: UnityEngine.AndroidJNIModule
public static class AndroidGame
Static Properties
Property | Description |
|---|---|
| GameMode | Calls getGameMode() in the Android application to retrieve the user selected game mode for the application and returns AndroidGameMode. Requires API level 31 (Android 12). (Read Only) |
Static Methods
Method | Description |
|---|---|
| SetGameState | Calls setGameState() in the Android application to specify the loading status. Requires API level 33 (Android 13). |
Classes
Class | Description |
|---|---|
| AndroidGame.Automatic | Provides methods for Automated game state hinting in Unity. |