You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i wanted to use the progress as a progression bar. The problem is that he calls onLoadComplete before the progress is finished. When he reaches 1% he starts to reference the loaded scene in the scene already. Did i use it in a wrong way ?
Would be nice if you can help. Here is my code snippet.
privateasyncTaskLoadGltf(){progress=newProgress<ImportProgress>();progress.ProgressChanged+=(sender,ev)=>ShowProgress(ev);awaitsceneImporter.LoadSceneAsync(sceneIndex:0,true,onLoadComplete:OnLoadComplete,progress:progress);awaitTask.Yield();}privatevoidShowProgress(ImportProgressev){Debug.Log("Progress is : "+ev.Progress*100);}
Cheers,
Marcus
The text was updated successfully, but these errors were encountered:
Dear Khronos team,
i wanted to use the progress as a progression bar. The problem is that he calls onLoadComplete before the progress is finished. When he reaches 1% he starts to reference the loaded scene in the scene already. Did i use it in a wrong way ?
Would be nice if you can help. Here is my code snippet.
Cheers,
Marcus
The text was updated successfully, but these errors were encountered: