123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596 |
- /** This is an automatically generated class by FairyGUI. Please do not modify it. **/
- using FairyGUI;
- namespace UI.FieldGuide
- {
- public partial class UI_SuitShowUI
- {
- public GComponent target;
- public GLoader m_loaBg;
- public GGraph m_holder;
- public GTextField m_txtSuitName;
- public GTextField m_txtTypeName;
- public GButton m_btnRight;
- public GButton m_btnLeft;
- public GButton m_btnBack;
- public GLoader m_btnChangeAction;
- public UI_Button4 m_imgBonusBox;
- public const string URL = "ui://vqq9h9h4pjip1b";
- public const string PACKAGE_NAME = "FieldGuide";
- public const string RES_NAME = "SuitShowUI";
- private static UI_SuitShowUI _proxy;
- public static UI_SuitShowUI Create(GObject gObject = null)
- {
- var ui = new UI_SuitShowUI();
- 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_SuitShowUI Proxy(GObject gObject = null)
- {
- if(_proxy == null)
- {
- _proxy = new UI_SuitShowUI();
- }
- 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_holder = (GGraph)comp.GetChild("holder");
- m_txtSuitName = (GTextField)comp.GetChild("txtSuitName");
- m_txtTypeName = (GTextField)comp.GetChild("txtTypeName");
- m_btnRight = (GButton)comp.GetChild("btnRight");
- m_btnLeft = (GButton)comp.GetChild("btnLeft");
- m_btnBack = (GButton)comp.GetChild("btnBack");
- m_btnChangeAction = (GLoader)comp.GetChild("btnChangeAction");
- m_imgBonusBox = (UI_Button4)UI_Button4.Create(comp.GetChild("imgBonusBox"));
- }
- public void Dispose(bool disposeTarget = false)
- {
- m_loaBg = null;
- m_holder = null;
- m_txtSuitName = null;
- m_txtTypeName = null;
- m_btnRight = null;
- m_btnLeft = null;
- m_btnBack = null;
- m_btnChangeAction = null;
- m_imgBonusBox.Dispose();
- m_imgBonusBox = null;
- if(disposeTarget && target != null)
- {
- target.RemoveFromParent();
- target.Dispose();
- }
- target = null;
- }
- }
- }
|