|
|
@@ -120,6 +120,7 @@ namespace GFGGame
|
|
|
|
|
|
index++;
|
|
|
star = _ui.target.GetChild(string.Format("comStar{0}_{1}_{2}", _ui.m_ctrlBuyType.selectedIndex, _ui.m_ctrlRewardsType.selectedIndex, index));
|
|
|
+ UI_ComStar.ProxyEnd();
|
|
|
}
|
|
|
|
|
|
}
|
|
|
@@ -178,6 +179,7 @@ namespace GFGGame
|
|
|
UI_ComStar comStar = UI_ComStar.Proxy(comStars[i]);
|
|
|
comStar.target.GetChildAt(2).asCom.visible = true;
|
|
|
comStar.target.GetChildAt(1).asCom.visible = false;
|
|
|
+ UI_ComStar.ProxyEnd();
|
|
|
// comStar.m_c1.selectedIndex = 1;
|
|
|
curComStar = comStars[i];
|
|
|
lastPos = Vector2.right;
|
|
|
@@ -210,7 +212,7 @@ namespace GFGGame
|
|
|
UI_ComStar comStar = UI_ComStar.Proxy(curComStar);
|
|
|
comStar.m_imgLine.rotation += angle;
|
|
|
comStar.m_imgLine.width = Vector2.Distance(targetPos, (Vector2)curComStar.data);
|
|
|
-
|
|
|
+ UI_ComStar.ProxyEnd();
|
|
|
|
|
|
}
|
|
|
|
|
|
@@ -220,6 +222,7 @@ namespace GFGGame
|
|
|
|
|
|
UI_ComStar comStar = UI_ComStar.Proxy(clickComStars[clickComStars.Count - 1]);
|
|
|
comStar.m_imgLine.visible = false;
|
|
|
+ UI_ComStar.ProxyEnd();
|
|
|
|
|
|
|
|
|
if (showGuide && clickComStars.Count < 2)
|
|
|
@@ -260,6 +263,8 @@ namespace GFGGame
|
|
|
notClickComStar.m_imgLine.visible = false;
|
|
|
notClickComStar.target.GetChildAt(3).asCom.visible = true;
|
|
|
notClickComStar.target.GetChildAt(1).asCom.visible = false;
|
|
|
+ UI_ComStar.ProxyEnd();
|
|
|
+
|
|
|
}
|
|
|
|
|
|
}
|
|
|
@@ -270,6 +275,8 @@ namespace GFGGame
|
|
|
{
|
|
|
UI_ComStar comStar = UI_ComStar.Proxy(clickComStars[i]);
|
|
|
comStar.target.GetChildAt(4).asCom.visible = true;
|
|
|
+ UI_ComStar.ProxyEnd();
|
|
|
+
|
|
|
}
|
|
|
Timers.inst.Add(0.5f, 1, SetEndEffect);
|
|
|
}
|