29 lines
752 B
C#
29 lines
752 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public class Menu_Kettle : MenuBase
|
|
{
|
|
public GameObject go_CombineEffect;
|
|
public Content_Relic m_Content_Relic;
|
|
public KettleCombineUI m_KettleCombineUI;
|
|
|
|
public override void Set()
|
|
{
|
|
base.Set();
|
|
go_CombineEffect.SetActive(false);
|
|
m_KettleCombineUI.Check();
|
|
}
|
|
|
|
public override void Set_Noti()
|
|
{
|
|
gos_noti[0].SetActive(MyValue.CanDrinkPotion() || MyValue.CanCombineKettle(eItem.Potion));
|
|
gos_noti[1].SetActive(MyValue.CanCombineKettle(eItem.Relic));
|
|
}
|
|
|
|
public void Show_CombineEffect()
|
|
{
|
|
if (!go_CombineEffect.activeInHierarchy)
|
|
go_CombineEffect.SetActive(true);
|
|
}
|
|
} |