Files
gdnative-demos/cpp/cpp_constructors/Main.gd
2017-06-19 02:30:22 +02:00

9 lines
165 B
GDScript

extends Control
onready var TestClass = preload("res://TestClass.gdn")
func _ready():
var test_object = TestClass.new()
test_object.test_method("Hello World")