Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Plug-ins for Android

Extend an Android application with plug-ins that deliver resources and call Java, Kotlin, and C++ code from your C# scripts.
Read time 1 minuteLast updated 6 days ago

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-ins.

Topic

Description

Android plug-in typesUnderstand the different plug-in types available for Unity Android applications.
Calling Java and Kotlin plug-in code from C# scriptsInteract with Java and Kotlin plug-in code from your C# scripts.
Calling C# code from Java and Kotlin plug-in codeAccess your C# scripts from Java and Kotlin plug-in code.

Additional resources