Version: 2022.2
언어: 한국어
Native plug-ins for Android
Create a native plug-in for Android

Introducing native plug-ins for Android

You can use native plug-ins in Android applications. There are different types of native plug-in, and the project’s scripting backend determines which plug-in types Unity supports. The possible plug-in types are:

  • Shared library: Plug-ins packaged in a shared library (.so).
  • Static library: Plug-ins packaged in a static library (.a).
  • C/C++ source files: C/C++ source files that Unity compiles along with IL2CPP generated files. This includes all C/C++ source files with extensions .c, .cc, .cpp and .h.

Scripting backend compatibility

The following table shows which scripting backends support the different types of native plug-ins.

스크립팅 백엔드 공유되는 라이브러리 정적 라이브러리 C/C++ 소스 파일
IL2CPP 지원 지원 지원
Mono 지원 지원 안 함 지원 안 함

추가 리소스

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