Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


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
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, _collectInitialInstallTags.

Static Events

Member

Description

collectInitialInstallTagsRaised when the build pipeline collects on-demand resource tags for initial app installation.
collectResourcesRaised when the build pipeline collects resources to add to the Xcode asset catalog.

Delegates

Delegate

Description

BuildPipeline.OnDemandTagsCollectorDelegateDelegate function for supplying on-demand resource tag strings to the iOS build pipeline.
BuildPipeline.ResourcesCollectorDelegateDelegate function for supplying Resource objects to the iOS build pipeline.