public static ContentFile LoadContentFileAsync(ContentNamespace nameSpace, string filename, NativeArray <ContentFile> dependencies, JobHandle dependentFence = new JobHandle()) { unsafe { return(ContentLoadInterface.LoadContentFileAsync(nameSpace, filename, dependencies.m_Buffer, dependencies.Length, dependentFence)); } }
public bool WaitForCompletion(int timeoutMs) { ThrowIfInvalidHandle(); return(ContentLoadInterface.WaitForLoadCompletion(this, timeoutMs)); }
public UnityEngine.Object GetObject(UInt64 localIdentifierInFile) { ThrowIfNotComplete(); return(ContentLoadInterface.ContentFile_GetObject(this, localIdentifierInFile)); }
public UnityEngine.Object[] GetObjects() { ThrowIfNotComplete(); return(ContentLoadInterface.ContentFile_GetObjects(this)); }
public ContentFileUnloadHandle UnloadAsync() { ThrowIfInvalidHandle(); return(ContentLoadInterface.ContentFile_UnloadAsync(this)); }
public bool WaitForCompletion(int timeoutMs) { return(ContentLoadInterface.WaitForJobCompletion(jobHandle, timeoutMs)); }
public bool UnloadAtEndOfFrame() { ThrowIfInvalidHandle(); return(ContentLoadInterface.ContentSceneFile_UnloadAtEndOfFrame(this)); }
public void IntegrateAtEndOfFrame() { ThrowIfInvalidHandle(); ContentLoadInterface.ContentSceneFile_IntegrateAtEndOfFrame(this); }