Version: 2022.1
Call native plug-in for Android code
Introducing Java and Kotlin source plug-ins

Java and Kotlin source plug-ins

Unity can interpret individual Java and Kotlin source files as individual 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
.

Topic Description
Introducing Java and Kotlin plug-ins Understand Java and Kotlin source file plug-ins and their use-cases.
Create a Java or Kotlin plug-in Turn a Java or Kotlin source file into a plug-in.

Additional resources

Call native plug-in for Android code
Introducing Java and Kotlin source plug-ins