فهرست منبع

Update gdscript_basics.rst

Zirak 7 سال پیش
والد
کامیت
c7a230410f
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      getting_started/scripting/gdscript/gdscript_basics.rst

+ 2 - 2
getting_started/scripting/gdscript/gdscript_basics.rst

@@ -1393,7 +1393,7 @@ into an invalid state, for example:
 
 ::
 
-    func func():
+    func my_func():
 	    yield(button_func(), "completed")
 	    print("All buttons were pressed, hurray!")
 
@@ -1401,7 +1401,7 @@ into an invalid state, for example:
         yield($Button0, "pressed")
 	    yield($Button1, "pressed")
 
-``func`` will only continue execution once both the buttons are pressed.
+``my_func`` will only continue execution once both the buttons are pressed.
 
 Onready keyword
 ~~~~~~~~~~~~~~~