diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2020-10-09 15:04:15 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2020-10-09 15:04:15 +0200 |
commit | a33fe750508f9879c51b4917a6212bea10bab40a (patch) | |
tree | d1819c379e67b755b117e62daf6ac6ed53d98b99 /doc/classes/FuncRef.xml | |
parent | e9ff08692cc03d87e8b3dcc427de87899e5d50a5 (diff) |
doc: Sync classref with current source
Diffstat (limited to 'doc/classes/FuncRef.xml')
-rw-r--r-- | doc/classes/FuncRef.xml | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/doc/classes/FuncRef.xml b/doc/classes/FuncRef.xml index 7c01397c24..dc9246ad35 100644 --- a/doc/classes/FuncRef.xml +++ b/doc/classes/FuncRef.xml @@ -26,6 +26,13 @@ Calls the referenced function previously set in [member function] or [method @GDScript.funcref]. Contrarily to [method call_func], this method does not support a variable number of arguments but expects all parameters to be passed via a single [Array]. </description> </method> + <method name="is_valid" qualifiers="const"> + <return type="bool"> + </return> + <description> + Returns whether the object still exists and has the function assigned. + </description> + </method> <method name="set_instance"> <return type="void"> </return> @@ -35,16 +42,9 @@ The object containing the referenced function. This object must be of a type actually inheriting from [Object], not a built-in type such as [int], [Vector2] or [Dictionary]. </description> </method> - <method name="is_valid" qualifiers="const"> - <return type="bool"> - </return> - <description> - Returns whether the object still exists and has the function assigned. - </description> - </method> </methods> <members> - <member name="function" type="StringName" setter="set_function" getter="get_function"> + <member name="function" type="StringName" setter="set_function" getter="get_function" default="@"""> The name of the referenced function. </member> </members> |