123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104 |
- /** This is an automatically generated class by FairyGUI. Please do not modify it. **/
- using FairyGUI;
- namespace UI.CommonGame
- {
- public partial class UI_ComponentValueBar
- {
- public GComponent target;
- public Controller m_c1;
- public GButton m_btnCJLuoXing;
- public GButton m_btnCJHuoDong;
- public GButton m_btnTravel;
- public GButton m_btnGallery;
- public GButton m_btnPower;
- public GButton m_btnCJ;
- public GButton m_btnGold;
- public GButton m_btnDiamondRed;
- public GButton m_btnDiamondPurple;
- public GButton m_btnArena;
- public GButton m_btnLeagueContribuation;
- public const string URL = "ui://eg2y0ldpv3541v";
- public const string PACKAGE_NAME = "CommonGame";
- public const string RES_NAME = "ComponentValueBar";
- private static UI_ComponentValueBar _proxy;
- public static UI_ComponentValueBar Create(GObject gObject = null)
- {
- var ui = new UI_ComponentValueBar();
- 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_ComponentValueBar Proxy(GObject gObject = null)
- {
- if(_proxy == null)
- {
- _proxy = new UI_ComponentValueBar();
- }
- 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_c1 = comp.GetController("c1");
- m_btnCJLuoXing = (GButton)comp.GetChild("btnCJLuoXing");
- m_btnCJHuoDong = (GButton)comp.GetChild("btnCJHuoDong");
- m_btnTravel = (GButton)comp.GetChild("btnTravel");
- m_btnGallery = (GButton)comp.GetChild("btnGallery");
- m_btnPower = (GButton)comp.GetChild("btnPower");
- m_btnCJ = (GButton)comp.GetChild("btnCJ");
- m_btnGold = (GButton)comp.GetChild("btnGold");
- m_btnDiamondRed = (GButton)comp.GetChild("btnDiamondRed");
- m_btnDiamondPurple = (GButton)comp.GetChild("btnDiamondPurple");
- m_btnArena = (GButton)comp.GetChild("btnArena");
- m_btnLeagueContribuation = (GButton)comp.GetChild("btnLeagueContribuation");
- }
- public void Dispose(bool disposeTarget = false)
- {
- m_c1 = null;
- m_btnCJLuoXing = null;
- m_btnCJHuoDong = null;
- m_btnTravel = null;
- m_btnGallery = null;
- m_btnPower = null;
- m_btnCJ = null;
- m_btnGold = null;
- m_btnDiamondRed = null;
- m_btnDiamondPurple = null;
- m_btnArena = null;
- m_btnLeagueContribuation = null;
- if(disposeTarget && target != null)
- {
- target.RemoveFromParent();
- target.Dispose();
- }
- target = null;
- }
- }
- }
|