BuildPipeline
Provides iOS build pipeline events that let you supply resources and on-demand resource tags to the Xcode asset catalog during a build.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Class
- Namespace: UnityEditor.iOS
- Assembly: UnityEditor.Apple.Extensions.Common
public static class BuildPipeline
Remarks
Subscribe to to register Resource objects that Unity writes into the generated catalog. Subscribe to to mark on-demand resource tags for prefetch during initial app installation. Register subscriptions before the build runs, for example in a method decorated with .
collectResourcesUnityData.xcassetscollectInitialInstallTags[InitializeOnLoadMethod]Additional Resources: Resource, _collectInitialInstallTags.
Static Events
Member | Description |
|---|---|
| collectInitialInstallTags | Raised when the build pipeline collects on-demand resource tags for initial app installation. |
| collectResources | Raised when the build pipeline collects resources to add to the Xcode asset catalog. |
Delegates
Delegate | Description |
|---|---|
| BuildPipeline.OnDemandTagsCollectorDelegate | Delegate function for supplying on-demand resource tag strings to the iOS build pipeline. |
| BuildPipeline.ResourcesCollectorDelegate | Delegate function for supplying Resource objects to the iOS build pipeline. |