|
@@ -234,7 +234,8 @@ namespace GFGGame
|
|
|
UI_ComBox1 comBox = UI_ComBox1.Proxy(obj);
|
|
|
_listActivityBtnObj.Add(obj);
|
|
|
int activityId = ActivityDataManager.Instance.GetCurOpenActiveByType(ConstLimitTimeActivityType.ActLimitTsy);
|
|
|
- if (activityId > 0 && boxId == LuckyBoxDataManager.BOX_ID_2) {
|
|
|
+ if (activityId > 0 && boxId == LuckyBoxDataManager.BOX_ID_2)
|
|
|
+ {
|
|
|
comBox.m_showActivityType.selectedIndex = 1;
|
|
|
UpGiftBox(comBox);
|
|
|
if (comBox.m_btnRule.data == null)
|
|
@@ -242,9 +243,12 @@ namespace GFGGame
|
|
|
comBox.m_btnRule.onClick.Add(RuleController.ShowRuleView);
|
|
|
comBox.m_btnRule.data = 300024;
|
|
|
}
|
|
|
+ comBox.m_btnRule.visible = true;
|
|
|
}
|
|
|
- else
|
|
|
+ else {
|
|
|
comBox.m_showActivityType.selectedIndex = 0;
|
|
|
+ comBox.m_btnRule.visible = false;
|
|
|
+ }
|
|
|
|
|
|
if (!_lcukyBoxCtrl.ContainsKey(boxId))
|
|
|
{
|