Let's Learn Unity

Опубликовано: 10 Июнь 2026
на канале: NC Learn wit Me
8
0

Hello guys, so today we finish lectures: 286, 287, Quiz 22, and 288.

(Lecture 286) Searching for animation events:
We learn how to look for a specific method or variable using Visual Studio's Find In Place function. This is useful when we have so many scripts and we are looking for a method that an animation event is using

(Lecture 287) Instantiate as Child:
We run into an issue of not knowing which lizard object spawns at which enemy spawner which will be required when figuring out when to change the shooter's animation to attack. Here we use 'gameobj.transform.parent = transform' to set the parent of the lizards to their respective spawners

Quiz 22:
I missed 2 questions. Now I know that an animation event can only access methods that are within the scripts of the current game obj only (meaning not including parent and child objs). The next one was using the "Find In Place" function.

(Lecture 288) Attacker In My Lane:
In this lecture we implement a way to detect whether there is an attacker in the lane of the shooter obj.