|
@@ -8,6 +8,7 @@ namespace UI.Main
|
|
|
{
|
|
|
public GComponent target;
|
|
|
public GImage m_imgMask;
|
|
|
+ public GImage m_bar;
|
|
|
public GGraph m_holder;
|
|
|
public const string URL = "ui://mfvz4q8kfqoro3";
|
|
|
public const string PACKAGE_NAME = "Main";
|
|
@@ -57,11 +58,13 @@ namespace UI.Main
|
|
|
private void Init(GComponent comp)
|
|
|
{
|
|
|
m_imgMask = (GImage)comp.GetChild("imgMask");
|
|
|
+ m_bar = (GImage)comp.GetChild("bar");
|
|
|
m_holder = (GGraph)comp.GetChild("holder");
|
|
|
}
|
|
|
public void Dispose(bool disposeTarget = false)
|
|
|
{
|
|
|
m_imgMask = null;
|
|
|
+ m_bar = null;
|
|
|
m_holder = null;
|
|
|
if(disposeTarget && target != null)
|
|
|
{
|