Version: 2022.3
LanguageEnglish
  • C#

ContentLoadInterface

class in Unity.Loading

/

Implemented in:UnityEngine.ContentLoadModule

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

API Interface for loading and unloading Content files.

Static Methods

GetContentFilesReturns all the ContentFile handles associated with the provided ContentNamespace.
GetIntegrationTimeMSGets the target duration allowed per frame to integrate loading or unloading objects, in milliseconds.
GetSceneFilesAn array of all the ContentSceneFiles associated with the ContentNamespace.
LoadContentFileAsyncLoads a serialized file asynchronously from disk.
LoadSceneAsyncLoads a scene serialized file asynchronously from disk.
SetIntegrationTimeMSSets the target duration allowed per frame to integrate loading or unloading objects, in milliseconds.