Call Java and Kotlin plug-in code from C# scripts
Create a custom activity

Extend the default Unity activity

The UnityPlayerActivity of a Unity Android application is responsible for basic interactions between the Android operating system and the application. You can use plug-ins to create your own Activity that extends and overrides Unity’s default UnityPlayerActivity.

Topic 描述
Create a custom activity Extend the default Unity activity to control interactions between Unity and Android.
Specify Unity start-up arguments Specify start-up command-line arguments to pass to Unity.

Did you find this page useful? Please give it a rating:

  • Call Java and Kotlin plug-in code from C# scripts
    Create a custom activity