Tag und Player prefab bearbeitet
This commit is contained in:
@@ -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