godot-start/scene/demo01_hello/script/CustomNode.gd

13 lines
152 B
GDScript

@icon("res://icon.svg")
extends Node2D
class_name MyNode
@export var a: int = 1
@export var b: String
func _ready():
print("my custom node")
pass