This commit is contained in:
CortexCore
2024-04-19 21:43:30 +08:00
parent e12a6e5a46
commit 3cc6491973
46 changed files with 6792 additions and 23887 deletions

View File

@@ -27,7 +27,7 @@ namespace BITFALL.GameMode
[SerializeField] private int minCapacity;
[SerializeField] private int maxCapacity;
private readonly HashSet<ulong> _spawnedEntities = new();
private readonly HashSet<int> _spawnedEntities = new();
private int _capacity;
public IEntity Entity
{
@@ -38,7 +38,7 @@ namespace BITFALL.GameMode
return task.AssetObject.As<GameObject>().GetComponent<IEntity>();
}
}
private readonly ConcurrentQueue<ulong> _removeQueue = new();
private readonly ConcurrentQueue<int> _removeQueue = new();
private readonly ValidHandle allowTick = new();
private void OnEnable()
{