Kaynağa Gözat

Fix connected function name in scripting.rst (#3124)

beamer159 5 yıl önce
ebeveyn
işleme
4d35f97e1b
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      getting_started/step_by_step/scripting.rst

+ 1 - 1
getting_started/step_by_step/scripting.rst

@@ -252,7 +252,7 @@ Next, write a function which will be called when the button is pressed:
         GetNode<Label>("Label").Text = "HELLO!";
     }
 
-Finally, connect the button's "pressed" signal to ``_ready()`` by
+Finally, connect the button's "pressed" signal to ``_on_Button_pressed()`` by
 using :ref:`Object.connect() <class_Object_method_connect>`.
 
 .. tabs::