Version: 2023.2
言語: 日本語
Optimize application startup times
Optimize for user preferences

Game state hinting

Android’s game state feature indicates to the operating system whether your application is in a loading state and also whether Android can interrupt the application. Depending on the state of the application, Android can perform certain optimizations. For example, if the application is in a loading state, the operating system can provide more resources to the application to help optimize the load process. However, whether the operating system does this depends on various other factors and settings, so you can’t guarantee that this will always happen.

要件と互換性

Android’s game state feature requires Android version 13.

Game state hinting in Unity

Unity provides the AndroidGame.SetGameState method that you can use to indicate to Android the current game state of your application. It’s best practice to call this method when your application transitions to or from a loading state to make sure the operating system is aware of the state of your application.

Optimize application startup times
Optimize for user preferences