Version: Unity 7.0 Alpha (7000.0)
Language : English
Large screen and foldable device support
Android plug-in types

Plug-ins for Android

Extend an Android application with plug-ins that deliver resources and call Java, Kotlin, and C++ code from your C# scripts.

Plug-ins give you access to features that aren’t otherwise available in Unity, such as third-party code libraries and operating system calls. The following topics describe the plug-in types Android supports, and how code passes between your C# scripts and your plug-in code.

These topics assume you’re familiar with plug-ins in Unity. For background, refer to Integrating third-party code libraries (plug-ins) and 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
.

Topic Description
Android plug-in types Understand the different plug-in types available for Unity Android applications.
Calling Java and Kotlin plug-in code from C# scripts Interact with Java and Kotlin plug-in code from your C# scripts.
Calling C# code from Java and Kotlin plug-in code Access your C# scripts from Java and Kotlin plug-in code.

Additional resources

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