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:
.so
)..a
)..c
, .cc
, .cpp
and .h
.The following table shows which scripting backends support the different types of native plug-ins.
Scripting backend | Shared library | Static library | C/C++ source files |
---|---|---|---|
IL2CPP | 是 | 是 | 是 |
Mono | 是 | 否 | 否 |