|
@@ -214,7 +214,7 @@ namespace GFGGame
|
|
|
}
|
|
|
private void OnClickBtnBack()
|
|
|
{
|
|
|
- Alert.Show("是否确定退出?")
|
|
|
+ AlertUI.Show("是否确定退出?")
|
|
|
.SetLeftButton(true, "否").SetRightButton(true, "是", (object data) =>
|
|
|
{
|
|
|
if (_levelCfg.type == ConstInstanceZonesType.Studio)
|
|
@@ -241,7 +241,7 @@ namespace GFGGame
|
|
|
|
|
|
private void OnClickBtnHome()
|
|
|
{
|
|
|
- Alert.Show("是否返回?")
|
|
|
+ AlertUI.Show("是否返回?")
|
|
|
.SetLeftButton(true, "否").SetRightButton(true, "是", (object data) =>
|
|
|
{
|
|
|
EquipDataCache.cacher.TakeOffAll();
|
|
@@ -390,14 +390,14 @@ namespace GFGGame
|
|
|
{
|
|
|
if (!EquipDataCache.cacher.CheckPutOnFinish())
|
|
|
{
|
|
|
- Alert.Show("只有换好衣服才能出门哦~")
|
|
|
+ AlertUI.Show("只有换好衣服才能出门哦~")
|
|
|
.SetRightButton(true, "好的");
|
|
|
return;
|
|
|
}
|
|
|
int _suitId = DressUpMenuSuitDataManager.CheckCurDressIsSuit(); ;
|
|
|
if (_fightCfg.needItemId > 0 && (_suitId <= 0 && EquipDataCache.cacher.equipDatas.IndexOf(_fightCfg.needItemId) < 0 || _suitId > 0 && Array.IndexOf(SuitCfgArray.Instance.GetCfg(_suitId).partsArr, _fightCfg.needItemId) < 0) || _fightCfg.needSuitId > 0 && _suitId != _fightCfg.needSuitId)
|
|
|
{
|
|
|
- Alert.Show("未穿戴必须品~").SetRightButton(true, "好的");
|
|
|
+ AlertUI.Show("未穿戴必须品~").SetRightButton(true, "好的");
|
|
|
return;
|
|
|
}
|
|
|
if (CardDataManager.GetCardListByRarity(0).Count > 0)
|