Ver.0.3.0.33

This commit is contained in:
2025-07-08 08:32:46 +00:00
parent 99f4dd67c2
commit 0ad5e29917
6831 changed files with 695623 additions and 234455 deletions
@@ -0,0 +1,33 @@
using System.Collections.Generic;
namespace AibisDream.Kit
{
public interface IActionQueueCallback
{
void Call();
}
internal struct ActionQueueRecycleCallback<T> : IActionQueueCallback
{
public SimpleObjectPool<T> pool;
public T action;
public ActionQueueRecycleCallback(SimpleObjectPool<T> pool, T action)
{
this.pool = pool;
this.action = action;
}
public void Call()
{
pool.Recycle(action);
pool = null;
action = default;
}
}
internal class ActionQueue : Singleton<ActionQueue>
{
}
}
@@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: 086caf33452541fb8296dc009b6df232
timeCreated: 1744889518