Version: Unity 6.5 (6000.5)
LanguageEnglish
  • C#

Resource.AddOnDemandResourceTags

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

Declaration

public Resource AddOnDemandResourceTags(params string[] newTags);

Parameters

Parameter Description
newTags On-demand resource tag strings to assign to this resource.

Returns

Resource The resulting Resource instance after the operation.

Description

Assigns one or more on-demand resource tags to this resource and returns the same instance for method chaining. Duplicate tags are ignored.

Tags classify a resource for on-demand delivery. The iOS system uses them to download resources from the App Store after initial installation. Enable On Demand Resources in Player Settings > iOS > On Demand Resources for tags to have any effect at runtime.