Tag und Player prefab bearbeitet

This commit is contained in:
2026-08-20 10:42:41 +02:00
parent e8d6a385c4
commit 8cd4da3aad
8 changed files with 114 additions and 11 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")
{