완료 시간 알람 기능 복원 및 카메라 시점 기능 개발
This commit is contained in:
@@ -13,12 +13,13 @@ namespace CHN
|
||||
public UI_DashboardCheckListItem prf_item;
|
||||
|
||||
private Dictionary<string, GameObject> originDashBoardItems = new();
|
||||
private Dictionary<string, UI_DashboardCheckListItem> dashboardItemList = new();
|
||||
public SDictionary<string, UI_DashboardCheckListItem> dashboardItemList = new();
|
||||
public void Init(Dictionary<string, GameObject> items)
|
||||
{
|
||||
prf_item = Resources.Load<UI_DashboardCheckListItem>("Prefabs/UI/UI_DashboardCheckListItem");
|
||||
|
||||
originDashBoardItems.Clear();
|
||||
dashboardItemList.Clear();
|
||||
foreach (var item in items)
|
||||
{
|
||||
var dashboardItem = CreateItem();
|
||||
@@ -35,9 +36,13 @@ namespace CHN
|
||||
}
|
||||
}
|
||||
|
||||
public void OnCloseDashbordItem(string dahboardKey)
|
||||
public void OnOpenDashboardItem(string dashboardKey)
|
||||
{
|
||||
dashboardItemList[dahboardKey].ToggleOffItem();
|
||||
dashboardItemList[dashboardKey].ToggleOnItem();
|
||||
}
|
||||
public void OnCloseDashbordItem(string dashboardKey)
|
||||
{
|
||||
dashboardItemList[dashboardKey].ToggleOffItem();
|
||||
}
|
||||
private UI_DashboardCheckListItem CreateItem()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user