文档

Unity Engine

Unity Engine

ContentLoadInterface

API Interface for loading and unloading Content files.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Class
  • Namespace: Unity.Loading
  • Assembly: UnityEngine.ContentLoadModule
public static class ContentLoadInterface

Static Methods

Method

Description

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.