Version: 2022.3
Language : English
Create a native plug-in for iOS
Call native plug-ins for iOS

Use your native plug-in for iOS

Enable your iOS project to use your native plug-inA set of code created outside of Unity that creates functionality in Unity. There are two kinds of plug-ins you can use in Unity: Managed plug-ins (managed .NET assemblies created with tools like Visual Studio) and Native plug-ins (platform-specific native code libraries). More info
See in Glossary
.

To use your native plug-inA 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
in an iOS project in Unity, you must ensure you configure your project appropriately:

Topic Description
Call native plug-ins for iOS Wrap native code in C# layer to only run code when using an iOS device.
Callback from native code Understand how to use native-to-managed callback functionality.
Automated plug-in integration Configure your project to use automated plug-in integration in XCode.
Bonjour browser sample Use sample code to understand native plug-ins for iOS.
Create a native plug-in for iOS
Call native plug-ins for iOS
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961