My journey becoming a Unity game developer: Enemy prototype for Galaxy Invaders pt.2

Enemy destroyed by the Player and Laser on collision.
Rigidbodies added to the Enemy and Laser prefabs, and Is Triggers turned on for their colliders including Player.
Using OnTriggerEnter() function to test for collisions with the Enemy object.
Enemy is colliding with the Player and Laser objects.
Tags added to the Enemy, Player, and Laser.
Destroying the Enemy object when colliding with the Player and Laser objects.
Enemy destroyed by the Player and Laser on collision.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store