How to Use Signals in Godot 4 - Editor vs. Code

Опубликовано: 14 Декабрь 2023
на канале: GDQuest
40,102
1.7k

🗨 GDQuest Discord Community :   / discord  

▶︎ GODOT 4 COURSES : https://school.gdquest.com/godot-4-ea...
Early Access Starting Jan 30

🎓 FREE APP "Learn GDScript From Zero" : https://www.gdquest.com

🎮 Free Interactive Tour - The Godot Editor - https://www.gdquest.com/tutorial/godo...

------------------------------------------
🖋 SYNOPSIS

This video introduces signals, a fundamental feature of Godot that you use to run a piece of code when an event occurs in the game. For example, when pressing a button, this button node emits a signal named "pressed". If you connect to that signal, upon receiving it, you can run code that opens a menu, opens a link in the browser, purchases an item in the game, and so on. The video shows the two different ways to connect signals in the engine: using code, and using the editor interface.
🕶 New in Godot 4 : First Class Signals covered in more detail in this video:    • First Class Functions and Signals in ...  

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

CC-BY 4.0 LICENSE
Terms: https://creativecommons.org/licenses/...
Attribute To: "CC-By 4.0 - GDQuest and contributors - https://www.gdquest.com/"


Смотрите видео How to Use Signals in Godot 4 - Editor vs. Code онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь GDQuest 14 Декабрь 2023, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 40,102 раз и оно понравилось 1.7 тысяч людям.