Version: Unity 6 Preview (6000.0)
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