fix: 修复交互与通知板问题
- 修复Z轴逻辑调整精灵与物品的排序 - 渲染前强制 content_container.modulate.a = 1.0,避免内容区被透明度状态卡住导致看起来空白
This commit is contained in:
@@ -3,7 +3,7 @@ extends StaticBody2D
|
||||
func interact():
|
||||
# Check if dialog already exists
|
||||
if get_tree().root.has_node("NoticeDialog"):
|
||||
return
|
||||
return null
|
||||
|
||||
var dialog = preload("res://scenes/ui/notice_dialog.tscn").instantiate()
|
||||
dialog.name = "NoticeDialog"
|
||||
|
||||
Reference in New Issue
Block a user