Extend an Android application with plug-ins that deliver resources and call Java, Kotlin, and C++ code from your C# scripts.
Plug-ins give you access to features that aren’t otherwise available in Unity, such as third-party code libraries and operating system calls. The following topics describe the plug-in types Android supports, and how code passes between your C# scripts and your plug-in code.
These topics assume you’re familiar with plug-ins in Unity. For background, refer to Integrating third-party code libraries (plug-ins) and Native plug-insA platform-specific native code library that is created outside of Unity for use in Unity. Allows you can access features like OS calls and third-party code libraries that would otherwise not be available to Unity. More info
See in Glossary.
| Topic | Description |
|---|---|
| Android plug-in types | Understand the different plug-in types available for Unity Android applications. |
| Calling Java and Kotlin plug-in code from C# scripts | Interact with Java and Kotlin plug-in code from your C# scripts. |
| Calling C# code from Java and Kotlin plug-in code | Access your C# scripts from Java and Kotlin plug-in code. |