Tag und Player prefab bearbeitet
This commit is contained in:
1 parent
e8d6a385c4
commit
8cd4da3aad
8 files changed
+114
-11
No files matched your search
@@ -27,9 +27,9 @@ public class ARBullet : MonoBehaviour
|
||||
if (enemy != null)
|
||||
{
|
||||
enemy.TakeDamage(damage);
|
||||
Destroy(gameObject);
|
||||
}
|
||||
|
||||
Destroy(gameObject);
|
||||
}
|
||||
else if(collision.gameObject.tag == "Wall")
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user