Project_WL/Assets/Script/UI/Kettle/Content_Relic.cs

25 lines
626 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Content_Relic : ScrollViewMgr
{
public GameObject go_btn, go_btnNoti;
public void OnEnable()
{
Set_ScrollView(table_kettle.Ins.Get_DataList(eItem.Relic));
go_btnNoti.SetActive(MyValue.CanCombineKettle(eItem.Relic));
}
public void Refresh_UI()
{
list_CardBase.ForEach(f => f.Set_UI());
go_btnNoti.SetActive(MyValue.CanCombineKettle(eItem.Relic));
}
public void OnClick_Combine()
{
GameUI.Ins.LobbyUI.Get_MenuKettle().m_KettleCombineUI.Set(go_btn);
}
}