This version of Unity is unsupported.

OnDemandResourcesRequest.Dispose

Declaration

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.