|
@@ -21,6 +21,8 @@ namespace GFGGame
|
|
private int _mainScore = 0;
|
|
private int _mainScore = 0;
|
|
private int _otherScore = 0;
|
|
private int _otherScore = 0;
|
|
private int _itemCfgMainScore = 0;
|
|
private int _itemCfgMainScore = 0;
|
|
|
|
+ private EffectUI _effectUI1;
|
|
|
|
+ private EffectUI _effectUI2;
|
|
|
|
|
|
public override void Dispose()
|
|
public override void Dispose()
|
|
{
|
|
{
|
|
@@ -107,6 +109,13 @@ namespace GFGGame
|
|
_ui.m_listLastCardProperty.numItems = 1;
|
|
_ui.m_listLastCardProperty.numItems = 1;
|
|
}
|
|
}
|
|
Timers.inst.AddUpdate(CheckGuide);
|
|
Timers.inst.AddUpdate(CheckGuide);
|
|
|
|
+
|
|
|
|
+ if (_type == "lv")
|
|
|
|
+ _effectUI1 = EffectUIPool.CreateEffectUI(_ui.m_holderTitle, "ui_hd", "GXSJ_Text");
|
|
|
|
+ else
|
|
|
|
+ _effectUI1 = EffectUIPool.CreateEffectUI(_ui.m_holderTitle, "ui_hd", "GXSX_Text");
|
|
|
|
+
|
|
|
|
+ _effectUI2 = EffectUIPool.CreateEffectUI(_ui.m_holderBgCom, "ui_hd", "TC_Quad_ALL");
|
|
}
|
|
}
|
|
|
|
|
|
private void RenderListLastCardPropertyItem(int index, GObject obj)
|
|
private void RenderListLastCardPropertyItem(int index, GObject obj)
|
|
@@ -189,6 +198,10 @@ namespace GFGGame
|
|
{
|
|
{
|
|
base.OnHide();
|
|
base.OnHide();
|
|
Timers.inst.Remove(CheckGuide);
|
|
Timers.inst.Remove(CheckGuide);
|
|
|
|
+ EffectUIPool.Recycle(_effectUI1);
|
|
|
|
+ _effectUI1 = null;
|
|
|
|
+ EffectUIPool.Recycle(_effectUI2);
|
|
|
|
+ _effectUI2 = null;
|
|
}
|
|
}
|
|
|
|
|
|
private void CheckGuide(object param)
|
|
private void CheckGuide(object param)
|