Version: Unity 6.6 Alpha (6000.6)
Language : English
Optimize the size of the iOS Player
Introduction to native plug-ins on iOS

Native plug-in development for iOS

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.

Additional resources

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