You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
Updated gdscript (markdown)
@@ -526,7 +526,7 @@ Functions can’t be referenced because they are not treated as class members. T
|
|||||||
instance.call("funcname",args) # call a function by bane
|
instance.call("funcname",args) # call a function by bane
|
||||||
|
|
||||||
var fr = funcref(instance,"funcname") #create a function ref
|
var fr = funcref(instance,"funcname") #create a function ref
|
||||||
fr.exec(args)
|
fr.call_func(args)
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user