Print fucntion in GDExtension or C++

Godot Version

v4.2.2.stable.mono.official [15073afe3]

Question

In GDScript, we have print(), and GD.Print() in C#, but only print_orphan_nodes(), print_tree() and print_tree_pretty() in C++.

I’ve been seeking through the engine source files for keywords such as “console”, “log”, “print”, “debug”, and “output”. However, nothing helpful has been found, nor call("print", "Hello") works (I don’t suppose that will do).

The C++ GDExtensions bindings has UtilityFunctions::print

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.