GodotObject.callDeferred

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

More...
struct GodotObject
@nogc nothrow
void
callDeferred
(
VarArgs...
)
(
in String method
,
VarArgs varArgs
)

Detailed Description

call_deferred("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