Let's Learn Unity

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

Hello guys, so today we covered lectures (298) 162 and started on (299) 163.

(Lecture 298/162) Create a Timer Level:
Our challenge here was to make the slider handle play an animation. It was pretty simple to do this as all we needed to do was put in a separate animator along with another animation for the lizard walking. Then we created a slider script that would update the sliders value in respect to the timer value that we give (in our case it was 10)

(Lecture 299/163) Create a Level Controller:
We were given an advanced challenge to figure out a way to determine how many attackers are currently on the field. My first solution was to use the FindObjectsOfType() of type Attacker and then get the length of that list...but I remember how costly it is to do it. I'll see if I can find a better solution next time.