Simplified and optimized bullet pooling

This commit is contained in:
Marco 2025-07-01 13:55:30 +02:00
commit da73823ac8
2 changed files with 39 additions and 31 deletions

View file

@ -31,4 +31,7 @@ public interface IBullet
public bool CanHit(BulletOwner bulletOwner, BulletOwner targetGroup);
public void RequestCollisionDestruction();
public void Freeze();
public void AddToGroup(StringName group, bool persistent = false);
public void RemoveFromGroup(StringName group);
}