Improve Scene Loading

This commit is contained in:
CroakFang
2023-07-05 02:22:20 +08:00
parent cf5b45aa35
commit e773f49f8d
15 changed files with 387 additions and 693 deletions
+2 -3
View File
@@ -198,6 +198,7 @@ public class UmaViewerUI : MonoBehaviour
public void LoadedAssetsAdd(UmaDatabaseEntry entry)
{
if (!LoadedAssetsPanel) return;
foreach (UmaUIContainer ui in LoadedAssetsPanel.GetComponentsInChildren<UmaUIContainer>())
{
if (ui.Name == Path.GetFileName(entry.Name)) return;
@@ -589,9 +590,7 @@ public class UmaViewerUI : MonoBehaviour
{
LiveTime = true;
SetEyeTrackingEnable(false);
CallAfterDelay.Create(0, () => {
Builder.LoadLive(currentLive, new List<LiveCharacterSelect>(selectlist));
});
Builder.LoadLive(currentLive, new List<LiveCharacterSelect>(selectlist));
LiveSelectPannel.SetActive(false);
}
}