상단 UI 디자인 작업
This commit is contained in:
@@ -14,6 +14,7 @@ namespace CHN
|
||||
|
||||
private Dictionary<string, GameObject> originDashBoardItems = new();
|
||||
public SDictionary<string, UI_DashboardCheckListItem> dashboardItemList = new();
|
||||
public Action onCloseDashboard;
|
||||
public void Init(Dictionary<string, GameObject> items)
|
||||
{
|
||||
prf_item = Resources.Load<UI_DashboardCheckListItem>("Prefabs/UI/UI_DashboardCheckListItem");
|
||||
@@ -58,6 +59,7 @@ namespace CHN
|
||||
if (EventSystem.current.currentSelectedGameObject != null)
|
||||
return;
|
||||
transform.parent.gameObject.SetActive(false);
|
||||
onCloseDashboard?.Invoke();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user