xiandie/manager/assemble/scene/scene_manager.gd
2024-12-23 09:29:31 +08:00

15 lines
369 B
GDScript

extends Node
func pop_notification(msg: String, number := 1) -> void:
var notification_node = get_node_or_null("/root/Main/UILayer/Notification")
if notification_node:
notification_node.show_notification(msg, number)
else:
printerr("Notification node not found")
func get_data_res() -> Resource:
return null
func load_data_res(data: Resource) -> void:
pass