|
@@ -36,8 +36,8 @@ namespace GFGGame
|
|
|
isfullScreen = true;
|
|
|
|
|
|
InitAllItem();
|
|
|
- _ui.m_bg.touchable = false;
|
|
|
- _ui.m_bg.onClick.Add(OnClickBg);
|
|
|
+ _ui.m_loaBg.touchable = false;
|
|
|
+ _ui.m_loaBg.onClick.Add(OnClickBg);
|
|
|
|
|
|
string resPath = ResPathUtil.GetViewEffectPath("ui_ck", "ui_ck_zl");
|
|
|
for (int i = 0; i < 10; i++)
|
|
@@ -56,10 +56,12 @@ namespace GFGGame
|
|
|
protected override void OnShown()
|
|
|
{
|
|
|
base.OnShown();
|
|
|
+ _ui.m_loaBg.url = ResPathUtil.GetBgImgPath("gxhd_bjbj");
|
|
|
+
|
|
|
List<ItemData> itemList = (viewData as object[])[0] as List<ItemData>;
|
|
|
if (itemList != null)
|
|
|
{
|
|
|
- _ui.m_bg.touchable = false;
|
|
|
+ _ui.m_loaBg.touchable = false;
|
|
|
int count = itemList.Count;
|
|
|
if (count == 10)
|
|
|
{
|
|
@@ -71,13 +73,13 @@ namespace GFGGame
|
|
|
}
|
|
|
else
|
|
|
{
|
|
|
- _ui.m_bg.touchable = true;
|
|
|
+ _ui.m_loaBg.touchable = true;
|
|
|
}
|
|
|
|
|
|
}
|
|
|
else
|
|
|
{
|
|
|
- _ui.m_bg.touchable = true;
|
|
|
+ _ui.m_loaBg.touchable = true;
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -111,7 +113,7 @@ namespace GFGGame
|
|
|
{
|
|
|
Timers.inst.Add(0.1f, 1, (object param) =>
|
|
|
{
|
|
|
- _ui.m_bg.touchable = true;
|
|
|
+ _ui.m_loaBg.touchable = true;
|
|
|
|
|
|
List<ItemData> list = LuckyBoxDataManager.Instance.GetFirstClothingList();
|
|
|
if (list.Count > 0)
|
|
@@ -135,7 +137,7 @@ namespace GFGGame
|
|
|
_ui.m_itemOne.visible = true;
|
|
|
UI_LuckyBoxBonusItem itemUI = UI_LuckyBoxBonusItem.Proxy(_ui.m_itemOne);
|
|
|
UpdateItem(itemUI, itemData);
|
|
|
- _ui.m_bg.touchable = true;
|
|
|
+ _ui.m_loaBg.touchable = true;
|
|
|
}
|
|
|
|
|
|
private void HideAllItem()
|