feat(): 添加删除连接线的提示

This commit is contained in:
2025-10-21 15:40:06 +08:00
parent a7dcf15aed
commit 1ce3d1a0d8
2 changed files with 140 additions and 0 deletions

View File

@@ -11,6 +11,7 @@ namespace UI
[SerializeField] private GameObject reminderInteractPrefab;
[SerializeField] private GameObject reminderConnectPrefab;
[SerializeField] private GameObject reminderSetPointPrefab;
[SerializeField] private GameObject reminderDeleteLinePrefab;
private PlayerInteractorController playerInteractorController;
private PlayerConnectController playerConnectController;
@@ -49,12 +50,14 @@ namespace UI
{
reminderConnectPrefab.SetActive(true);
reminderSetPointPrefab.SetActive(true);
reminderDeleteLinePrefab.SetActive(true);
}
private void HandleConnectGazeExit(GameObject obj)
{
reminderConnectPrefab.SetActive(false);
reminderSetPointPrefab.SetActive(false);
reminderDeleteLinePrefab.SetActive(false);
}
}
}