ソースを参照

Fixed grammar in "Awaiting for signals" end note (#5586)

Co-authored-by: Hugo Locurcio <[email protected]>
Zshandi Krahn 3 年 前
コミット
66305cf83b
1 ファイル変更3 行追加2 行削除
  1. 3 2
      tutorials/scripting/gdscript/gdscript_basics.rst

+ 3 - 2
tutorials/scripting/gdscript/gdscript_basics.rst

@@ -1792,8 +1792,9 @@ This also means that returning a signal from a function that isn't a coroutine w
         await get_signal()
         print("Button was pressed")
 
-.. note:: Unlike ``yield`` in previous Godot versions, you cannot obtain the function state object. This in spirit of
-          type-safety, because a function cannot say that returns an ``int`` but actually give a function state object
+.. note:: Unlike ``yield`` in previous Godot versions, you cannot obtain the function state object.
+          This is done to ensure type safety.
+          With this type safety in place, a function cannot say that it returns an ``int`` while it actually returns a function state object
           during runtime.
 
 .. _doc_gdscript_onready_annotation: