filmov
tv
Godot Tidbits: Global Signals (Event Bus)

Показать описание
Directly referencing children within a hierarchy gets cumbersome at scale, and Godot's signals work best within the local instance. When you start moving things around in the tree programmatically, or dynamically instantiating objects, it is handy to be able to emit a signal globally and have potential receivers "listen" to that signal wherever they may exist in the tree. This video goes over creating a centralized signal / event management system and using it for a few different scenarios.
Note to viewers: These tutorials take significant time & effort to create. If you got something valuable out of them, please like / subscribe so I know where to focus my efforts for future posts.
Note to viewers: These tutorials take significant time & effort to create. If you got something valuable out of them, please like / subscribe so I know where to focus my efforts for future posts.
Комментарии