You can use plug-ins developed for Android to call Java and C++ code created outside of Unity from your C# scripts, 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:
2017–05–18 Page published with editorial review
Updated features in 5.5
Did you find this page useful? Please give it a rating:
Thanks for rating this page!
What kind of problem would you like to report?
Is something described here not working as you expect it to? It might be a Known Issue. Please check with the Issue Tracker at issuetracker.unity3d.com.
Thanks for letting us know! This page has been marked for review based on your feedback.
If you have time, you can provide more information to help us fix the problem faster.
Provide more information