Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


AndroidGame

Provides methods and properties for accessing different Android game APIs.
Read time 1 minuteLast updated 6 days ago

Definition

public static class AndroidGame

Static Properties

Property

Description

GameModeCalls 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

SetGameStateCalls setGameState() in the Android application to specify the loading status. Requires API level 33 (Android 13).

Classes