|
@@ -7,8 +7,8 @@ namespace UI.BlindBox
|
|
|
public partial class UI_Button1
|
|
|
{
|
|
|
public GButton target;
|
|
|
- public GLoader m_img;
|
|
|
public GTextField m_num;
|
|
|
+ public GLoader m_newimg;
|
|
|
public const string URL = "ui://zxtyrwszcf1ai";
|
|
|
public const string PACKAGE_NAME = "BlindBox";
|
|
|
public const string RES_NAME = "Button1";
|
|
@@ -56,13 +56,13 @@ namespace UI.BlindBox
|
|
|
|
|
|
private void Init(GComponent comp)
|
|
|
{
|
|
|
- m_img = (GLoader)comp.GetChild("img");
|
|
|
m_num = (GTextField)comp.GetChild("num");
|
|
|
+ m_newimg = (GLoader)comp.GetChild("newimg");
|
|
|
}
|
|
|
public void Dispose(bool disposeTarget = false)
|
|
|
{
|
|
|
- m_img = null;
|
|
|
m_num = null;
|
|
|
+ m_newimg = null;
|
|
|
if(disposeTarget && target != null)
|
|
|
{
|
|
|
target.RemoveFromParent();
|