Bläddra i källkod

FIx incorrect Node label in "Your first game"

In the HUD section, one of the new nodes created is named "Message". The OnMessageTimerTimeout() description in the docs incorrectly refers to this as "MesageLabel". This would cause a runtime error and also does not match the actual code repository linked in the docs.
Rushyendra Maganty 5 år sedan
förälder
incheckning
0c3da902eb
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      getting_started/step_by_step/your_first_game.rst

+ 1 - 1
getting_started/step_by_step/your_first_game.rst

@@ -1145,7 +1145,7 @@ functions:
 
     public void OnMessageTimerTimeout()
     {
-        GetNode<Label>("MessageLabel").Hide();
+        GetNode<Label>("Message").Hide();
     }
 
 Connecting HUD to Main