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

@@ -23,7 +23,7 @@ namespace BITFALL.Props
public virtual async void Explosion(GameObject root = null)
{
var damaged = ListPool<ulong>.Get();
var damaged = ListPool<int>.Get();
DI.Get<VFXService>().Spawn(new Location(transform), vfxTags.Select(x => x.Value).ToArray());
@@ -55,7 +55,7 @@ namespace BITFALL.Props
}
damaged.Clear();
ListPool<ulong>.Release(damaged);
ListPool<int>.Release(damaged);
PhysicsHelper.Explosion(transform.position, explosionRadius, physicsLayer, 1024 * 8);
Destroy(gameObject);
if (root)