started using generic pooling

This commit is contained in:
Mausham
2025-12-17 18:50:53 -08:00
parent 2a7759228f
commit df4017f6be
24 changed files with 135 additions and 68 deletions

View File

@@ -1,8 +0,0 @@
fileFormatVersion: 2
guid: 519b6dff3c0f4154b911953421501a5d
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -29,6 +29,7 @@ namespace Darkmatter.Domain
{
isDead = false;
playerMaterial.color = playerMaterialColors[Random.Range(0, playerMaterialColors.Length)];
}
private void OnCollisionEnter(Collision collision)