|
@@ -72,12 +72,12 @@ namespace GFGGame
|
|
|
|
|
|
UpdateComTxt(txtContent);
|
|
|
|
|
|
- _ui.m_mask.target.visible = false;
|
|
|
+ _ui.m_maskCom.target.visible = false;
|
|
|
_ui.m_loaMask.visible = false;
|
|
|
- _ui.m_grhMask.visible = false;
|
|
|
+ _ui.m_mask.visible = false;
|
|
|
if (guideTarget != null)
|
|
|
{
|
|
|
- _ui.m_grhMask.visible = true;
|
|
|
+ _ui.m_mask.visible = true;
|
|
|
_ui.m_comHolder.target.visible = false;
|
|
|
Timers.inst.Add(0.3f, 1, UpdateTime);
|
|
|
// _ui.m_mask.target.visible = true;
|
|
@@ -98,12 +98,12 @@ namespace GFGGame
|
|
|
|
|
|
if (justHint)
|
|
|
{
|
|
|
- _ui.m_mask.target.visible = false;
|
|
|
+ _ui.m_maskCom.target.visible = false;
|
|
|
_ui.m_loaMask.visible = true;
|
|
|
}
|
|
|
if (NoTips)
|
|
|
{
|
|
|
- _ui.m_mask.target.visible = false;
|
|
|
+ _ui.m_maskCom.target.visible = false;
|
|
|
_ui.m_comHolder.target.visible = false;
|
|
|
}
|
|
|
|
|
@@ -122,7 +122,7 @@ namespace GFGGame
|
|
|
GuideCfg cfg3 = GuideCfgArray.Instance.GetCfg(ConstGuideId.LUCKY_BOX_LINE); // 引导抽奖连线
|
|
|
if (guideId == cfg3.id && guideIndex == 1)
|
|
|
{
|
|
|
- _ui.m_mask.target.visible = false;
|
|
|
+ _ui.m_maskCom.target.visible = false;
|
|
|
_ui.m_loaMask.visible = false;
|
|
|
}
|
|
|
}
|
|
@@ -135,7 +135,7 @@ namespace GFGGame
|
|
|
|
|
|
_ui.m_comHolder.target.visible = false;
|
|
|
_ui.m_compTxt.target.visible = false;
|
|
|
- _ui.m_grhMask.visible = true;
|
|
|
+ _ui.m_mask.visible = true;
|
|
|
guideTarget = null;
|
|
|
|
|
|
base.OnHide();
|
|
@@ -186,10 +186,10 @@ namespace GFGGame
|
|
|
// pos = _ui.m_mask.target.GlobalToLocal(pos);
|
|
|
logicScreenPos.x = logicScreenPos.x + guideTarget.width / 2;
|
|
|
logicScreenPos.y = logicScreenPos.y + guideTarget.height / 2;
|
|
|
- if (_ui.m_mask.m_guideArea.xy == logicScreenPos)
|
|
|
+ if (_ui.m_maskCom.m_guideArea.xy == logicScreenPos)
|
|
|
{
|
|
|
//Timers.inst.Remove(UpdateGuideRect);
|
|
|
- _ui.m_comHolder.target.xy = _ui.m_mask.m_guideArea.xy;
|
|
|
+ _ui.m_comHolder.target.xy = _ui.m_maskCom.m_guideArea.xy;
|
|
|
|
|
|
if (logicScreenPos.x > GRoot.inst.width / 2)
|
|
|
{
|
|
@@ -200,8 +200,8 @@ namespace GFGGame
|
|
|
_ui.m_comHolder.m_c1.selectedIndex = 1;//手在右边
|
|
|
}
|
|
|
_ui.m_comHolder.target.visible = !NoTips;
|
|
|
- _ui.m_mask.target.visible = !NoTips;
|
|
|
- _ui.m_grhMask.visible = false;
|
|
|
+ _ui.m_maskCom.target.visible = !NoTips;
|
|
|
+ _ui.m_mask.visible = false;
|
|
|
_ui.m_compTxt.target.visible = !String.IsNullOrEmpty(txtContent);
|
|
|
|
|
|
|
|
@@ -220,7 +220,7 @@ namespace GFGGame
|
|
|
}
|
|
|
return;
|
|
|
}
|
|
|
- _ui.m_mask.m_guideArea.SetXY(logicScreenPos.x, logicScreenPos.y);
|
|
|
+ _ui.m_maskCom.m_guideArea.SetXY(logicScreenPos.x, logicScreenPos.y);
|
|
|
}
|
|
|
else {
|
|
|
_countGuideRect += 1;
|