Version: Unity 6.5 (6000.5)
LanguageEnglish
  • C#

BuildPipeline

class in UnityEditor.iOS

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

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.

Events

Event 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
OnDemandTagsCollectorDelegateDelegate function for supplying on-demand resource tag strings to the iOS build pipeline.
ResourcesCollectorDelegateDelegate function for supplying Resource objects to the iOS build pipeline.