Build and use native plug-insA 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 on iOS.
| Topic | Description |
|---|---|
| Introduction to native plug-ins on iOS | Introduces native plug-ins for iOS and their structure. |
| Create a native plug-in for iOS | Create a native plug-in for your iOS project and import it into Unity. |
| Call native plug-ins for iOS | Understand how to run code when your application is running on a device. |
| Create callbacks from native code | Understand how to use native-to-managed callback functionality. |
| Configure a plug-in for iOS with the Inspector window | Understand how to configure and add your native plug-in to your Xcode project using InspectorA Unity window that displays information about the currently selected GameObject, asset or project settings, allowing you to inspect and edit the values. More info See in Glossary tools. |
| Source and binary forms of native iOS plug-ins | Learn about the different forms of native iOS plug-ins you can create for iOS, tvOS, and visionOS. |
| Conditional compilation behavior for native iOS plug-ins | Learn how to use conditional compilation to support different project types in your native source code plug-in. |
| Initialization paths for native iOS plug-ins | Learn about the different initialization paths available for native iOS plug-ins. |
| Unity native plug-in example for iOS | Use the native plug-in example to understand how to develop a plug-in with Swift or Objective-C. |