瀏覽代碼

Merge pull request #3594 from brandonlamb/patch-1

Clarify example code for signal
Max Hilbrunner 5 年之前
父節點
當前提交
52887ba635
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      getting_started/scripting/gdscript/gdscript_styleguide.rst

+ 2 - 0
getting_started/scripting/gdscript/gdscript_styleguide.rst

@@ -592,6 +592,8 @@ variables, in that order.
 
 ::
 
+   signal spawn_player(position)
+
    enum Jobs {KNIGHT, WIZARD, ROGUE, HEALER, SHAMAN}
 
    const MAX_LIVES = 3