fix errors and bump version

This commit is contained in:
wsycarlos 2026-03-10 20:27:04 +08:00
parent e53407a989
commit 771d223e80
4 changed files with 15 additions and 3 deletions

View File

@ -1,5 +1,4 @@
using System; using System;
using System.Collections.Generic;
using System.Collections.Concurrent; using System.Collections.Concurrent;
using UnityEngine; using UnityEngine;
@ -37,7 +36,10 @@ public class UnityMainThreadDispatcher : MonoBehaviour
{ {
while (_executionQueue.Count > 0) while (_executionQueue.Count > 0)
{ {
_executionQueue.Dequeue().Invoke(); if(_executionQueue.TryDequeue(out var action))
{
action.Invoke();
}
} }
} }
} }

View File

@ -0,0 +1,3 @@
{
"name": "com.bywaystudios.aihelper"
}

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: be0e1d5cd2be65b4c9a540ff0f6424fa
AssemblyDefinitionImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -1,6 +1,6 @@
{ {
"name": "com.bywaystudios.aihelper", "name": "com.bywaystudios.aihelper",
"displayName": "AIHelper", "displayName": "AIHelper",
"version": "0.1.3", "version": "0.1.4",
"description": "Package to include AI Helper" "description": "Package to include AI Helper"
} }