排障 小修改

This commit is contained in:
2025-04-20 12:18:19 +08:00
parent 87e4a0aa98
commit 83241a5814
20 changed files with 4825 additions and 936 deletions

View File

@@ -1,6 +1,7 @@
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using TMPro;
using UniRx;
using UnityEngine;
using UnityEngine.Networking;
@@ -18,6 +19,8 @@ namespace Ichni
public IntReactiveProperty waitingBundleAmount;
public TMP_Text LogWindow;
private void Awake()
{
if (instance == null)
@@ -52,11 +55,12 @@ namespace Ichni
{
waitingBundleAmount = new IntReactiveProperty(list.Count);
Debug.Log("Waiting for " + list.Count + " AssetBundles to load.");
LogWindow.text += "Waiting for " + list.Count + " AssetBundles to load.\n";
foreach (var bundle in list)
{
LoadThemeBundle(bundle);
}
selectedThemeBundleList = list;
}
@@ -131,6 +135,7 @@ namespace Ichni
yield return new WaitForEndOfFrame();
print(themeBundleName + " Done!");
LogWindow.text += themeBundleName + " Done!\n";
waitingBundleAmount.Value--;
}
}