fix: HideAllPages 增加隐藏 DialogueBubble

This commit is contained in:
yangbear
2026-06-30 01:37:40 +08:00
parent 7d2696d65c
commit cee3dd097c
7 changed files with 393 additions and 1 deletions
+3 -1
View File
@@ -219,9 +219,11 @@ public class PageController : MonoBehaviour
if (_fixationPanel != null) _fixationPanel.SetActive(false);
if (_experimentPanel != null) _experimentPanel.SetActive(false);
// 隐藏不在页面面板内的独立 UI 元素
var tipPanel = GameObject.Find("TipPanel");
if (tipPanel != null) tipPanel.SetActive(false);
var dialogue = GameObject.Find("DialogueBubble");
if (dialogue != null) dialogue.SetActive(false);
}