mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-05 22:09:56 +03:00
Merge pull request #6933 from JamesC01/patch-2
Mention the "Pick" button when connecting signals
This commit is contained in:
@@ -349,9 +349,10 @@ Now we need to connect the ``HUD`` functionality to our ``Main`` script. This
|
||||
requires a few additions to the ``Main`` scene:
|
||||
|
||||
In the Node tab, connect the HUD's ``start_game`` signal to the ``new_game()``
|
||||
function of the Main node by typing "new_game" in the "Receiver Method" in the
|
||||
"Connect a Signal" window. Verify that the green connection icon now appears
|
||||
next to ``func new_game()`` in the script.
|
||||
function of the Main node by clicking the "Pick" button in the "Connect a Signal"
|
||||
window and selecting the ``new_game()`` method or type "new_game" below "Receiver Method"
|
||||
in the window. Verify that the green connection icon now appears next to
|
||||
``func new_game()`` in the script.
|
||||
|
||||
In ``new_game()``, update the score display and show the "Get Ready" message:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user