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)
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Property
- Namespace: UnityEngine.Android
- Assembly: UnityEngine.AndroidJNIModule
public static AndroidGameMode GameMode { get; }
Remarks
When target device does not support the required API level, AndroidGameMode.Unsupported is returned (value of 0).