Version: 2023.1
言語: 日本語
Android application entry points
Activity requirements and compatibility

The Activity application entry point

Activity was originally the only application entry point that Unity supported and because of this it’s very stable in the majority of scenarios. This application entry point is currently the default but the GameActivity application entry point will become the default in a future version of Unity.

This application entry point is appropriate to use in the following scenarios:

  • Your project uses plug-ins that must run on a Java thread. For more information, refer to Plug-in compatibility.
  • You are upgrading an old project that already uses the Activity application entry point.

If the above scenarios don’t apply to your project, the GameActivity application entry point is a more appropriate application entry point. Among other benefits, Unity’s implementation of GameActivity gives you more control over the interaction between Android and your application. For more information, refer to GameActivity application entry point.

トピック 説明 
Activity requirements and compatibility Understand the system requirements and feature compatibility of the Activity application entry point.
Unity のデフォルトのアクティビティを拡張する Android OS と Unity Android アプリケーションの間の基本的なインタラクションをオーバーライドします。

その他の参考資料

Android application entry points
Activity requirements and compatibility