SetGameState
Calls setGameState() in the Android application to specify the loading status. Requires API level 33 (Android 13).
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Method
- Namespace: UnityEngine.Android
- Assembly: UnityEngine.AndroidJNIModule
SetGameState(bool, AndroidGameState)
Calls setGameState() in the Android application to specify the loading status. Requires API level 33 (Android 13).
public static void SetGameState(bool isLoading, AndroidGameState gameState)
Parameters
Remarks
When target device does not support the required API level, no action is taken.
SetGameState(bool, AndroidGameState, int, int)
Calls setGameState() in the Android application to specify the loading status. Requires API level 33 (Android 13).
public static void SetGameState(bool isLoading, AndroidGameState gameState, int label, int quality)
Parameters
Whether the game is in the loading state.
AndroidGameState state.
Developer supplied custom value, e.g. for the current level.
Developer supplied custom value, e.g. for the current quality level.
Remarks
When target device does not support the required API level, no action is taken.