|
@@ -11,6 +11,7 @@ namespace GFGGame
|
|
private GTextField _txtHasCount;
|
|
private GTextField _txtHasCount;
|
|
private GImage _imgGot;
|
|
private GImage _imgGot;
|
|
private GImage _imgNotHas;
|
|
private GImage _imgNotHas;
|
|
|
|
+ private GImage _imgHas;
|
|
private GLoader _loaShouTongRewardVisble;
|
|
private GLoader _loaShouTongRewardVisble;
|
|
private GGroup _grpCount;
|
|
private GGroup _grpCount;
|
|
|
|
|
|
@@ -26,6 +27,7 @@ namespace GFGGame
|
|
_txtHasCount = obj.GetChild("txtHasCount") as GTextField;
|
|
_txtHasCount = obj.GetChild("txtHasCount") as GTextField;
|
|
_imgGot = obj.GetChild("imgGot") as GImage;
|
|
_imgGot = obj.GetChild("imgGot") as GImage;
|
|
_imgNotHas = obj.GetChild("imgNotHas") as GImage;
|
|
_imgNotHas = obj.GetChild("imgNotHas") as GImage;
|
|
|
|
+ _imgHas = obj.GetChild("imgHas") as GImage;
|
|
_loaShouTongRewardVisble = obj.GetChild("loaShouTongReward") as GLoader;
|
|
_loaShouTongRewardVisble = obj.GetChild("loaShouTongReward") as GLoader;
|
|
_grpCount = obj.GetChild("grpCount") as GGroup;
|
|
_grpCount = obj.GetChild("grpCount") as GGroup;
|
|
AddClickListener();
|
|
AddClickListener();
|
|
@@ -52,6 +54,7 @@ namespace GFGGame
|
|
RarityIconController.UpdateRarityIcon(_loaRarity, _itemData.id, false);
|
|
RarityIconController.UpdateRarityIcon(_loaRarity, _itemData.id, false);
|
|
_imgGot.visible = false;
|
|
_imgGot.visible = false;
|
|
_imgNotHas.visible = false;
|
|
_imgNotHas.visible = false;
|
|
|
|
+ _imgHas.visible = false;
|
|
_loaShouTongRewardVisble.visible = false;
|
|
_loaShouTongRewardVisble.visible = false;
|
|
_grpCount.visible = true;
|
|
_grpCount.visible = true;
|
|
_showTips = true;
|
|
_showTips = true;
|
|
@@ -76,8 +79,22 @@ namespace GFGGame
|
|
_imgGot.visible = value;
|
|
_imgGot.visible = value;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+ /// “已获得”显示状态
|
|
|
|
+ /// </summary>
|
|
|
|
+ /// <value></value>
|
|
|
|
+ public bool ImgHasVisible
|
|
|
|
+ {
|
|
|
|
+ get
|
|
|
|
+ {
|
|
|
|
+ return _imgHas.visible;
|
|
|
|
+ }
|
|
|
|
+ set
|
|
|
|
+ {
|
|
|
|
+ _imgHas.visible = value;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
/// <summary>
|
|
/// <summary>
|
|
- /// “未领取”显示状态
|
|
|
|
|
|
+ /// “未获得”显示状态
|
|
/// </summary>
|
|
/// </summary>
|
|
/// <value></value>
|
|
/// <value></value>
|
|
public bool ImgNotGotVisible
|
|
public bool ImgNotGotVisible
|
|
@@ -91,6 +108,8 @@ namespace GFGGame
|
|
_imgNotHas.visible = value;
|
|
_imgNotHas.visible = value;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+ /// <summary>
|
|
|
|
+
|
|
|
|
|
|
/// <summary>
|
|
/// <summary>
|
|
/// "已拥有"显示状态
|
|
/// "已拥有"显示状态
|