예제 #1
0
 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));
     }
 }
예제 #2
0
 public bool WaitForCompletion(int timeoutMs)
 {
     ThrowIfInvalidHandle();
     return(ContentLoadInterface.WaitForLoadCompletion(this, timeoutMs));
 }
예제 #3
0
 public UnityEngine.Object GetObject(UInt64 localIdentifierInFile)
 {
     ThrowIfNotComplete();
     return(ContentLoadInterface.ContentFile_GetObject(this, localIdentifierInFile));
 }
예제 #4
0
 public UnityEngine.Object[] GetObjects()
 {
     ThrowIfNotComplete();
     return(ContentLoadInterface.ContentFile_GetObjects(this));
 }
예제 #5
0
 public ContentFileUnloadHandle UnloadAsync()
 {
     ThrowIfInvalidHandle();
     return(ContentLoadInterface.ContentFile_UnloadAsync(this));
 }
예제 #6
0
 public bool WaitForCompletion(int timeoutMs)
 {
     return(ContentLoadInterface.WaitForJobCompletion(jobHandle, timeoutMs));
 }
예제 #7
0
 public bool UnloadAtEndOfFrame()
 {
     ThrowIfInvalidHandle(); return(ContentLoadInterface.ContentSceneFile_UnloadAtEndOfFrame(this));
 }
예제 #8
0
 public void IntegrateAtEndOfFrame()
 {
     ThrowIfInvalidHandle(); ContentLoadInterface.ContentSceneFile_IntegrateAtEndOfFrame(this);
 }