cull(engine-cleanup): pass-8 phase-2 cascade round 1 after CardDetailUI stub
This commit is contained in:
@@ -29,24 +29,6 @@ public class CardCraftPanel : MonoBehaviour
|
||||
[SerializeField]
|
||||
private UILabel _cantDestructLabel;
|
||||
|
||||
public void Init(Action onClickCreateBtn, Action onClickDestructBtn)
|
||||
{
|
||||
UIEventListener.Get(_createButton.gameObject).onClick = delegate
|
||||
{
|
||||
if (UIManager.GetInstance().IsTouchable)
|
||||
{
|
||||
onClickCreateBtn();
|
||||
}
|
||||
};
|
||||
UIEventListener.Get(_destructButton.gameObject).onClick = delegate
|
||||
{
|
||||
if (UIManager.GetInstance().IsTouchable)
|
||||
{
|
||||
onClickDestructBtn();
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
public void UpdateCraftPanel(CardParameter inCardParam, bool isUpdateHaveRedether = true)
|
||||
{
|
||||
SystemText systemText = Data.SystemText;
|
||||
|
||||
Reference in New Issue
Block a user