Script initialisation in Unity doesn't work how you think

Опубликовано: 02 Февраль 2025
на канале: Game Dev Beginner
2,052
208

Are you a new developer? Want to know how to CODE in Unity? Get my online course here: https://www.udemy.com/course/how-to-c...

---------------------------------------------------

00:00 Intro
00:49 How event messages work
02:10 Awake and On Enable are different
03:30 How new object initialisation works
04:43 Why is this important?
06:00 Outro

Awake, On Enable, and Start, might not work in the way that you expect them too and, when you create a new object in Unity, exactly which event messages are called, and when, might surprise you.

#unity #coding #csharp

CREDITS:
---------------------------------------------------

Music:

Summer in the Neighborhood - Bad Snacks
New Year - Bad Snacks

Artist link:    / @badsnacks