Understanding order of execution for event functions | Unite Now 2020

preview_player
Показать описание
Watch this video to learn how Unity calls event functions over a script's lifetime. Also, see how you can use the Configurable Enter Play Mode option to speed up iteration time.

Chapters:
00:00 Intro
00:45 Execution Order of Event Functions
02:19 Initialization
02:58 Physics
03:51 Input Events
04:02 Game Logic
04:43 Rendering
05:53 Pausing & Quitting
06:26 Clean up
06:32 What is Configurable Enter Play Mode?
06:57 Domain Reload
07:08 Scene Reload
07:31 How do I activate Configurable Enter Play Mode?
08:27 Side Effects of Skipping Domain Reload
09:07 Side Effects of Skipping Scene Reload

Speaker:
Kristin Stock, Content Developer (Unity)

Рекомендации по теме
Комментарии
Автор

3rd party plugins may rely on static vars/events, limiting us to stay on slow loading mode.

Would it be possible to select which assembly def. can be kept as-is vs which one has to be reloaded?

UnGivNX
Автор

Thank you so much for all of these vidoes. They help me out a lot ❤

senacheshmehkaboodi
Автор

Isn't it better to profile the loading times (and everything else, really) in a build, and not inside the editor? So it looks like skipping Scene Reload has no real issues

nuprahtor
Автор

Over 10 years of watching Unity tutorials and reading API docs and still having an heart attack each time I see them using public instead of [SerializeField]...

AndreaLeganza