상점 작업 중..
This commit is contained in:
parent
f70cedd5be
commit
12633ed1b5
File diff suppressed because it is too large
Load Diff
|
|
@ -15,8 +15,12 @@ public class LobbyUI : MonoBehaviourSingletonTemplate<LobbyUI>
|
||||||
[SerializeField] AlbumUI m_AlbumUI;
|
[SerializeField] AlbumUI m_AlbumUI;
|
||||||
[SerializeField] GachaUI m_GachaUI;
|
[SerializeField] GachaUI m_GachaUI;
|
||||||
|
|
||||||
|
[Header("Bot UI")]
|
||||||
|
[SerializeField] GameObject[] gos_homeBot; // 게임 버튼
|
||||||
|
|
||||||
[Header("Games")]
|
[Header("Games")]
|
||||||
public Game_Lucky m_Game_Lucky;
|
public Game_Lucky m_Game_Lucky;
|
||||||
|
[SerializeField] GameObject go_shop;
|
||||||
|
|
||||||
public void OnClick_Button(GameObject btn)
|
public void OnClick_Button(GameObject btn)
|
||||||
{
|
{
|
||||||
|
|
@ -29,8 +33,14 @@ public class LobbyUI : MonoBehaviourSingletonTemplate<LobbyUI>
|
||||||
case "btn_home":
|
case "btn_home":
|
||||||
m_AlbumUI.gameObject.SetActive(false);
|
m_AlbumUI.gameObject.SetActive(false);
|
||||||
m_GachaUI.gameObject.SetActive(false);
|
m_GachaUI.gameObject.SetActive(false);
|
||||||
|
go_shop.SetActive(false);
|
||||||
|
DSUtil.ActivateGameObjects(gos_homeBot);
|
||||||
break;
|
break;
|
||||||
case "btn_gacha": m_GachaUI.Set(); break;
|
case "btn_gacha": m_GachaUI.Set(); break;
|
||||||
|
case "btn_shop":
|
||||||
|
go_shop.SetActive(true);
|
||||||
|
DSUtil.InActivateGameObjects(gos_homeBot);
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue