ComponentList 버그 수정

This commit is contained in:
logonkhi
2025-08-12 18:13:19 +09:00
parent c727f325db
commit 3bb2573c51
6 changed files with 76 additions and 68 deletions

View File

@@ -236,11 +236,11 @@ namespace UVC.UI.List.ComponentList
Toast.Show(LocalizationManager.Instance.GetString($"{itemData.factoryObjectInfo.Name} 객체를 찾을 수 없습니다."), 2f);
return;
}
// 객체가 존재하고 활성화 상태일 때만 카메라를 이동시킵니다.
if (obj != null && obj.gameObject.activeSelf)
{
// FactoryCameraController를 사용하여 해당 객체의 위치로 카메라를 부드럽게 이동시킵니다.
FactoryObjectSelectionManager.Instance.Select(obj);
FactoryCameraController.Instance.FocusOnTarget(obj.transform.position, 10f);
}
}