And other stuff (still don't merge)
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using Godot;
|
||||
using Godot.Collections;
|
||||
|
||||
namespace Babushka.scripts.CSharp.Common.SceneManagement;
|
||||
public partial class SceneTransitionThreaded : CanvasLayer
|
||||
@@ -35,6 +36,9 @@ public partial class SceneTransitionThreaded : CanvasLayer
|
||||
if (scenePathThreaded == "")
|
||||
{ return; }
|
||||
|
||||
var ar = new Array();
|
||||
ResourceLoader.LoadThreadedGetStatus(scenePathThreaded, ar);
|
||||
|
||||
if (threadedLoadingState == ThreadedLoadingStateEn._loading && ResourceLoader.LoadThreadedGetStatus(scenePathThreaded) == ResourceLoader.ThreadLoadStatus.Loaded)
|
||||
{
|
||||
OnResourceLoadThreadedComplete();
|
||||
@@ -58,7 +62,7 @@ public partial class SceneTransitionThreaded : CanvasLayer
|
||||
if (scenePathThreaded == "")
|
||||
{ return; }
|
||||
|
||||
ResourceLoader.LoadThreadedRequest(scenePathThreaded);
|
||||
ResourceLoader.LoadThreadedRequest(scenePathThreaded,"",true);
|
||||
threadedLoadingState = ThreadedLoadingStateEn._loading;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user