Provides iOS build pipeline events that let you supply resources and on-demand resource tags to the Xcode asset catalog during a build.
Subscribe to collectResources to register Resource objects that Unity writes into the generated UnityData.xcassets catalog. Subscribe to collectInitialInstallTags 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 [InitializeOnLoadMethod].
Additional resources: Resource, BuildPipeline.collectInitialInstallTags.
| Event | 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. |
| Delegate | Description |
|---|---|
| OnDemandTagsCollectorDelegate | Delegate function for supplying on-demand resource tag strings to the iOS build pipeline. |
| ResourcesCollectorDelegate | Delegate function for supplying Resource objects to the iOS build pipeline. |