LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

This version of Unity is unsupported.

OnDemandResourcesRequest.Dispose

public void Dispose();

Description

Release all resources kept alive by On Demand Resources (ODR) request.

OnDemandResourcesRequest will keep the on demand resource alive until either Dispose is called or the request object is collected by the garbage collector, which is the equivalent of calling NSBundleResourceRequest.endAccessingResources class.