Version: 2018.2 (switch to 2018.3b or 2017.4)
Advanced Unity mobile scripting
AAR plug-ins and Android Libraries
Other Versions

Building and using plug-ins for Android

You can use plug-ins developed for Android to call Java and C++ code created outside of Unity from your 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
, allowing you to access features like OS calls and third-party code libraries that would otherwise not be available to Unity. For more information about using plug-ins with Unity, see documentation on plug-ins.

The following pages describe the process of creating your own plug-ins for use in Android projects. The information on these pages assumes the reader knows how to create native plug-ins for use in Unity. For more information about native plug-ins and their uses, see documentation on native plug-ins

Unity supports several types of Android plug-ins:


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

Advanced Unity mobile scripting
AAR plug-ins and Android Libraries