Unity Tutorial 03
Week 05 Unity Tutorial 03 After completing all the tutorials this week I can say that this was the one that I had the most trouble with. In these tutorials, we had to make a piece of land and put our characters and animals on it. We then set the boundaries of the character for moving side to side, I think this would be useful to learn because it would be something that I would need in the game I'm making. Then I took a food item as an asset added a move forward script to it. Then I learned about prefabs and turning this projectile into one so that my character could throw the food at the animals constantly without having to make so many of them. I assigned this shoot button to the spacebar in my Script, so that I could rapidly throw them at the animals as a "food fight". Since there were so many projectiles being spawned I needed to destroy them as they went off-screen so I added a line of code to state that they will destroy when they have gone a certain distance. The a...