Version: 2023.1
言語: 日本語
Optimize for user preferences
Android plug-in types

Create and use plug-ins in Android

You can use plug-ins to deliver resources and call Java and C++ code created outside of Unity from your C# scripts. They enable you to access features, like third-party code libraries and operating systems calls, that would otherwise not be available to Unity. For more information about plug-ins with Unity, see Plug-ins.

This section describes how to create your own plug-ins and use them in Android projects. The information on these pages assumes you already know how to create native plug-ins for Unity. For more information about native plug-ins and their uses, see Native plug-ins.

トピック 説明
Android plug-in types Understand the different plug-in types available for Unity Android applications.
Call Java and Kotlin plug-in code from C# scripts Interact with Java and Kotlin plug-in code from your C# scripts.

ライブラリーとしての Unity

プロジェクトを Unity 2019.4 以上にアップグレードする場合、Unity as a Library を導入すると、ネイティブマネージ のプラグインを Android で正しく機能するように調整が必要になることがあります。

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