mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-05 22:09:56 +03:00
fix typo in ui_code_a_life_bar
This commit is contained in:
@@ -271,7 +271,7 @@ node. The script editor opens with the cursor inside a new
|
||||
|
||||
Godot writes the callback method for you and takes you to it
|
||||
|
||||
Inside the parens after the function name, add a ``player_health``
|
||||
Inside the parentheses after the function name, add a ``player_health``
|
||||
argument. When the player emits the ``health_changed`` signal it will send
|
||||
its current ``health`` alongside it. Your code should look like:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user