And other stuff (still don't merge)

This commit is contained in:
jonathan
2025-09-04 23:14:01 +02:00
parent 57d19a8ad2
commit 029a9d481b
24 changed files with 2595 additions and 100 deletions
@@ -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;
}