Unity Tutorial 04
Unity Tutorial 04 Unity 3D, source: Shutterstock Lesson 2.4 "Collision Decisions" For this tutorial we picked up where we left off from our Unity Tutorial 03 . In the previous tutorial we got as far as constructing the movement of our player, our animals and also the food. In 04 we made our game playable to the user. I made my animals spawn automatically in this tutorial. By using a timing system they now spawn randomly. I made my food object collide with the oncoming animal, making them disappear or "delete" from the screen. By giving our projectile and our animals "Collider" component's. I learned how to write a brand new method: SpawnRandomAnimal {...}. Challenge 2 & Quiz Play Fetch This challenge we had to fixed the "bugs" in the unity game. Given a list of the things we had to fix. This challenge was overwhelming at first but I took it step by step. I had to make sure the balls were only destroyed when coming into contact with th...