GodotObject.call

Calls the method on the object and returns the result. This method supports a variable number of arguments, so parameters are passed as a comma separated list. Example:

More...
struct GodotObject
@nogc nothrow
Variant
call
(
VarArgs...
)
(
in String method
,
VarArgs varArgs
)

Detailed Description

call("set", "position", Vector2(42.0, 0.0))

Note: In C#, the method name must be specified as snake_case if it is defined by a built-in Godot node. This doesn't apply to user-defined methods where you should use the same convention as in the C# source (typically PascalCase).

Meta