Version: 2023.1

AndroidGame

class in UnityEngine.Android

切换到手册

描述

Provides methods and properties for accessing different Android game APIs.

静态变量

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)

静态函数

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