This commit is contained in:
2026-08-20 11:10:17 +02:00
parent 8cd4da3aad
commit d27b860d72
4 changed files with 12 additions and 78 deletions
+1 -1
View File
@@ -27,9 +27,9 @@ public class ARBullet : MonoBehaviour
if (enemy != null)
{
enemy.TakeDamage(damage);
Destroy(gameObject);
}
Destroy(gameObject);
}
else if(collision.gameObject.tag == "Wall")
{