Version: 2017.4
Advanced Unity mobile scripting
AAR plug-ins and Android Libraries

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# 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

  • Updated features in 5.5

Advanced Unity mobile scripting
AAR plug-ins and Android Libraries
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961