Version: 2022.3
Language : English
JAR plug-ins
Introducing native plug-ins for Android

Native plug-ins for Android

Unity supports 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
for Android applications so you can integrate middleware libraries or existing C/C++ code into your Unity application.

Topic Description
Introducing native plug-ins for Android Understand native plug-insA set of code created outside of Unity that creates functionality in Unity. There are two kinds of plug-ins you can use in Unity: Managed plug-ins (managed .NET assemblies created with tools like Visual Studio) and Native plug-ins (platform-specific native code libraries). More info
See in Glossary
for Android and their use-cases.
Create a native plug-in for Android Create a new native plug-in for Android applications.
Import a native plug-in for Android Import an existing native plug-in into your Unity project.
Call native plug-in for Android code Call native plug-in code from C# scriptsA piece of code that allows you to create your own Components, trigger game events, modify Component properties over time and respond to user input in any way you like. More info
See in Glossary
.

Additional resources

JAR plug-ins
Introducing native plug-ins for Android