Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


The GameActivity application entry point

Understand the GameActivity application entry point so you can determine whether it's the most appropriate one for your application.
Read time 1 minuteLast updated 11 days ago

The GameActivity application entry point is an extension of the Activity application entry point and is the default application entry point for new Unity projects. It provides more control over the interaction between Android and your application than the Activity application entry point. To provide this control, the GameActivity library does the following:
  • It doesn't directly map to a specific Unity version which means you can update the GameActivity library separately to Unity.
  • It uses a customizable glue library as a bridge between itself and Unity. This means you can modify the bridge code to make changes and extend functionality.
The following topics cover GameActivity in more detail:

Topic

Description

GameActivity requirements and compatibilityUnderstand the system requirements and feature compatibility of the GameActivity application entry point.
Modify GameActivity bridge codeMake changes to the code that connects the Unity runtime to the GameActivity library.
Update the GameActivity libraryChange which version of the GameActivity library your application uses.

Additional resources