Skip to content
Snippets Groups Projects
Commit 2ab4e33f authored by Häußermann Ben's avatar Häußermann Ben
Browse files

Merge branch 'ballon/damage' into 'master'

make damage to balloon

See merge request !8
parents f9c44259 0bcd83be
No related branches found
No related tags found
1 merge request!8make damage to balloon
...@@ -28,10 +28,11 @@ public class BulletHandler : MonoBehaviour ...@@ -28,10 +28,11 @@ public class BulletHandler : MonoBehaviour
} }
} }
void OnTriggerEnter() void OnTriggerEnter(Collider other)
{ {
Debug.Log("asdasd"); Debug.Log("asdasd");
//Destroy(gameObject); Destroy(gameObject);
Destroy(other.gameObject);
} }
// OnTrigger Destroy // OnTrigger Destroy
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment