浏览代码

Merge pull request #2967 from Scony/func-call-operator

function call operator added to operator table
Nathan Lovato 5 年之前
父节点
当前提交
b19ead1230
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      getting_started/scripting/gdscript/gdscript_basics.rst

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

@@ -250,6 +250,8 @@ The following is the list of supported operators and their precedence.
 +---------------------------------------------------------------+-----------------------------------------+
 | ``x.attribute``                                               | Attribute reference                     |
 +---------------------------------------------------------------+-----------------------------------------+
+| ``foo()``                                                     | Function call                           |
++---------------------------------------------------------------+-----------------------------------------+
 | ``is``                                                        | Instance type checker                   |
 +---------------------------------------------------------------+-----------------------------------------+
 | ``~``                                                         | Bitwise NOT                             |