123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104 |
- /** This is an automatically generated class by FairyGUI. Please do not modify it. **/
- using FairyGUI;
- namespace UI.LuckyBox
- {
- public partial class UI_LuckyBoxUI
- {
- public GComponent target;
- public GLoader m_loaBg;
- public GList m_listBg;
- public GComponent m_valueBar;
- public GButton m_btnBack;
- public GButton m_btnHome;
- public GGroup m_grpTop;
- public GButton m_btnLeft;
- public GButton m_btnRight;
- public GGraph m_effectZWH;
- public GGraph m_effectTWH;
- public GGraph m_effectZWH2;
- public GGraph m_effectTWH2;
- public const string URL = "ui://drx9d1uswono2q";
- public const string PACKAGE_NAME = "LuckyBox";
- public const string RES_NAME = "LuckyBoxUI";
- private static UI_LuckyBoxUI _proxy;
- public static UI_LuckyBoxUI Create(GObject gObject = null)
- {
- var ui = new UI_LuckyBoxUI();
- if(gObject == null)
- ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
- else
- ui.target = (GComponent)gObject;
- ui.Init(ui.target);
- return ui;
- }
- public static UI_LuckyBoxUI Proxy(GObject gObject = null)
- {
- if(_proxy == null)
- {
- _proxy = new UI_LuckyBoxUI();
- }
- var ui = _proxy;
- if(gObject == null)
- ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
- else
- ui.target = (GComponent)gObject;
- ui.Init(ui.target);
- return ui;
- }
- public static void ProxyEnd()
- {
- if (_proxy != null)
- {
- _proxy.Dispose();
- }
- }
- public static void ClearProxy()
- {
- ProxyEnd();
- _proxy = null;
- }
- private void Init(GComponent comp)
- {
- m_loaBg = (GLoader)comp.GetChild("loaBg");
- m_listBg = (GList)comp.GetChild("listBg");
- m_valueBar = (GComponent)comp.GetChild("valueBar");
- m_btnBack = (GButton)comp.GetChild("btnBack");
- m_btnHome = (GButton)comp.GetChild("btnHome");
- m_grpTop = (GGroup)comp.GetChild("grpTop");
- m_btnLeft = (GButton)comp.GetChild("btnLeft");
- m_btnRight = (GButton)comp.GetChild("btnRight");
- m_effectZWH = (GGraph)comp.GetChild("effectZWH");
- m_effectTWH = (GGraph)comp.GetChild("effectTWH");
- m_effectZWH2 = (GGraph)comp.GetChild("effectZWH2");
- m_effectTWH2 = (GGraph)comp.GetChild("effectTWH2");
- }
- public void Dispose(bool disposeTarget = false)
- {
- m_loaBg = null;
- m_listBg = null;
- m_valueBar = null;
- m_btnBack = null;
- m_btnHome = null;
- m_grpTop = null;
- m_btnLeft = null;
- m_btnRight = null;
- m_effectZWH = null;
- m_effectTWH = null;
- m_effectZWH2 = null;
- m_effectTWH2 = null;
- if(disposeTarget && target != null)
- {
- target.RemoveFromParent();
- target.Dispose();
- }
- target = null;
- }
- }
- }
|