mirror of
https://github.com/stan220/godot-docs.git
synced 2026-09-08 21:29:07 +00:00
committed by
Rémi Verschelde
parent
5f849646c0
commit
48ea87ea27
@@ -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