xiandie/manager/deploy/scene/scene_manager.gd

8 lines
270 B
GDScript3
Raw Normal View History

2024-12-23 01:29:31 +00:00
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:
2024-12-24 11:24:55 +00:00
printerr("Notification node not found")