|
@@ -8,6 +8,8 @@ namespace UI.InstanceZones
|
|
|
{
|
|
|
public GComponent target;
|
|
|
public GLoader m_loaBg;
|
|
|
+ public GGraph m_bg_eff;
|
|
|
+ public GGraph m_fish_eff;
|
|
|
public GComponent m_valueBar;
|
|
|
public GButton m_btnBack;
|
|
|
public UI_ButtonModle7 m_btn1;
|
|
@@ -16,6 +18,8 @@ namespace UI.InstanceZones
|
|
|
public UI_ButtonModle9 m_btnPoem;
|
|
|
public UI_ButtonModle9 m_btnField;
|
|
|
public UI_ButtonModle9 m_btnArena;
|
|
|
+ public GGraph m_eff;
|
|
|
+ public Transition m_t0;
|
|
|
public const string URL = "ui://ez8qotvcyeocfv0";
|
|
|
public const string PACKAGE_NAME = "InstanceZones";
|
|
|
public const string RES_NAME = "InstanceZonesUI";
|
|
@@ -64,6 +68,8 @@ namespace UI.InstanceZones
|
|
|
private void Init(GComponent comp)
|
|
|
{
|
|
|
m_loaBg = (GLoader)comp.GetChild("loaBg");
|
|
|
+ m_bg_eff = (GGraph)comp.GetChild("bg_eff");
|
|
|
+ m_fish_eff = (GGraph)comp.GetChild("fish_eff");
|
|
|
m_valueBar = (GComponent)comp.GetChild("valueBar");
|
|
|
m_btnBack = (GButton)comp.GetChild("btnBack");
|
|
|
m_btn1 = (UI_ButtonModle7)UI_ButtonModle7.Create(comp.GetChild("btn1"));
|
|
@@ -72,10 +78,14 @@ namespace UI.InstanceZones
|
|
|
m_btnPoem = (UI_ButtonModle9)UI_ButtonModle9.Create(comp.GetChild("btnPoem"));
|
|
|
m_btnField = (UI_ButtonModle9)UI_ButtonModle9.Create(comp.GetChild("btnField"));
|
|
|
m_btnArena = (UI_ButtonModle9)UI_ButtonModle9.Create(comp.GetChild("btnArena"));
|
|
|
+ m_eff = (GGraph)comp.GetChild("eff");
|
|
|
+ m_t0 = comp.GetTransition("t0");
|
|
|
}
|
|
|
public void Dispose(bool disposeTarget = false)
|
|
|
{
|
|
|
m_loaBg = null;
|
|
|
+ m_bg_eff = null;
|
|
|
+ m_fish_eff = null;
|
|
|
m_valueBar = null;
|
|
|
m_btnBack = null;
|
|
|
m_btn1.Dispose();
|
|
@@ -90,6 +100,8 @@ namespace UI.InstanceZones
|
|
|
m_btnField = null;
|
|
|
m_btnArena.Dispose();
|
|
|
m_btnArena = null;
|
|
|
+ m_eff = null;
|
|
|
+ m_t0 = null;
|
|
|
if(disposeTarget && target != null)
|
|
|
{
|
|
|
target.RemoveFromParent();
|