godot/modules/gdscript/tests/scripts/runtime/features/object_constructor.gd

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

7 lines
113 B
GDScript3
Raw Normal View History

# GH-73213
func test():
var object := Object.new() # Not `Object()`.
print(object.get_class())
object.free()