Documentation

Unity Engine

Unity Engine

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 2 months ago

Definition

public static AndroidGameMode GameMode { get; }

Remarks

When target device does not support the required API level, AndroidGameMode.Unsupported is returned (value of 0).