|
@@ -69,6 +69,7 @@ namespace GFGGame
|
|
|
_imgShouTong.visible = false;
|
|
|
// _grpCount.visible = true;
|
|
|
_showTips = true;
|
|
|
+ _txtCount.visible = true;
|
|
|
|
|
|
_txtName.text = itemCfg.name;
|
|
|
_txtCount.SetVar("count", _itemData.num.ToString()).FlushVars();
|
|
@@ -228,6 +229,14 @@ namespace GFGGame
|
|
|
{
|
|
|
_txtCount.SetPosition(x, y, 0);
|
|
|
}
|
|
|
+ public bool ShowTxtCount
|
|
|
+ {
|
|
|
+ set
|
|
|
+ {
|
|
|
+ _txtCount.visible = value;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
public void SetTxtNamePos(int x, int y)
|
|
|
{
|
|
|
_txtName.SetPosition(x, y, 0);
|