maint: hotreload updated to 1.13.7

This commit is contained in:
Chris
2026-01-06 22:42:15 -05:00
parent 796dbca5d8
commit 105da8850a
128 changed files with 3538 additions and 738 deletions

View File

@@ -1,8 +1,8 @@
#if ENABLE_MONO && (DEVELOPMENT_BUILD || UNITY_EDITOR)
using System;
using System.Threading;
using System.Threading.Tasks;
using UnityEngine;
using SingularityGroup.HotReload.Localization;
namespace SingularityGroup.HotReload {
internal static class TaskExtensions {
@@ -10,7 +10,7 @@ namespace SingularityGroup.HotReload {
try {
await task;
if(task.IsFaulted) {
throw task.Exception ?? new Exception("unknown exception " + task);
throw task.Exception ?? new Exception(Localization.Translations.Common.UnknownException + " " + task);
}
token.ThrowIfCancellationRequested();
}
@@ -45,4 +45,3 @@ namespace SingularityGroup.HotReload {
}
}
}
#endif