More work on UI

This commit is contained in:
2026-03-13 14:36:11 +01:00
parent c4eedfff1e
commit 1ce7dfa057
24 changed files with 262 additions and 27 deletions

View File

@@ -93,7 +93,12 @@ var Timer = /** @class */ (function () {
if (_this._Main.UnityRunner.state === 'RUNNING' &&
_this._Main.UnityRunner.startOrigin === UnityRunner_1.StartOrigin.Timer) {
console.log(PREFIX, 'Stopping Unity');
_this._Main.UnityRunner.stop();
_this._Main.UnityWebSocket.quitApplication();
_this._Main.UnityRunner.startOrigin = null;
_this._Main.UnityRunner.state = 'STOPPED';
setTimeout(function () {
_this._Main.UnityRunner.requestStop();
}, 5000);
}
}
}, 5000);