Singelton patch

This commit is contained in:
2025-05-05 22:21:51 -05:00
parent 43487bb448
commit 631365aa38
46 changed files with 78 additions and 174 deletions

6
scripts/Singletons/VN.gd Normal file
View File

@@ -0,0 +1,6 @@
class_name VNSystem extends Node
const VNTextbox = preload("res://scripts/UI/VNTextbox.gd")
func getTextbox() -> VNTextbox:
return null
# return get_tree().current_scene.get_node("UI/VNTextbox") as VNTextbox;