|
@@ -279,16 +279,22 @@ namespace GFGGame
|
|
|
}
|
|
|
private void UpdateTime(object param)
|
|
|
{
|
|
|
+ ET.Log.Debug("zoya: openIndex:" + openIndex);
|
|
|
GComponent component = _ui.target.GetChild("item" + openIndex).asCom;
|
|
|
+ ET.Log.Debug("zoya: component:" + component);
|
|
|
Transition transition = component.GetTransition("t1");
|
|
|
+ ET.Log.Debug("zoya: transition:" + transition);
|
|
|
GComponent comIcon = component.GetChild("comIcon").asCom;
|
|
|
+ ET.Log.Debug("zoya: comIcon:" + comIcon);
|
|
|
GImage imgNew = comIcon.GetChild("imgNew").asImage;
|
|
|
+ ET.Log.Debug("zoya: imgNew:" + imgNew);
|
|
|
openIndex++;
|
|
|
if (transition.playing || comIcon.skew == Vector2.zero) return;
|
|
|
openCount++;
|
|
|
if (imgNew.visible)
|
|
|
{
|
|
|
ItemData itemData = component.data as ItemData;
|
|
|
+ ET.Log.Debug("zoya: itemData:" + itemData);
|
|
|
ItemCfg cfg = ItemCfgArray.Instance.GetCfg(itemData.id);
|
|
|
if (cfg.itemType == ConstItemType.DRESS_UP)
|
|
|
{
|