123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120 |
- /** This is an automatically generated class by FairyGUI. Please do not modify it. **/
- using FairyGUI;
- namespace UI.Card
- {
- public partial class UI_CardFosterUI
- {
- public GComponent target;
- public Controller m_c1;
- public GLoader m_loaBg;
- public UI_ComImgCard m_comImgCard;
- public UI_ComCardObj m_comCard;
- public GLoader m_loaListener;
- public GLoader m_loaListener1;
- public UI_ComFosterTop m_ComFosterTop;
- public UI_ComFosterBottom m_ComFosterBottom;
- public GButton m_cardSyntheticBtn;
- public GLoader m_loaGuide;
- public GButton m_btnLeft;
- public GButton m_btnRight;
- public GGraph m_touchLayer;
- public Transition m_t0;
- public Transition m_t1;
- public Transition m_open;
- public const string URL = "ui://7l6lvkayojlzj";
- public const string PACKAGE_NAME = "Card";
- public const string RES_NAME = "CardFosterUI";
- private static UI_CardFosterUI _proxy;
- public static UI_CardFosterUI Create(GObject gObject = null)
- {
- var ui = new UI_CardFosterUI();
- 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_CardFosterUI Proxy(GObject gObject = null)
- {
- if(_proxy == null)
- {
- _proxy = new UI_CardFosterUI();
- }
- 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_loaBg = (GLoader)comp.GetChild("loaBg");
- m_comImgCard = (UI_ComImgCard)UI_ComImgCard.Create(comp.GetChild("comImgCard"));
- m_comCard = (UI_ComCardObj)UI_ComCardObj.Create(comp.GetChild("comCard"));
- m_loaListener = (GLoader)comp.GetChild("loaListener");
- m_loaListener1 = (GLoader)comp.GetChild("loaListener1");
- m_ComFosterTop = (UI_ComFosterTop)UI_ComFosterTop.Create(comp.GetChild("ComFosterTop"));
- m_ComFosterBottom = (UI_ComFosterBottom)UI_ComFosterBottom.Create(comp.GetChild("ComFosterBottom"));
- m_cardSyntheticBtn = (GButton)comp.GetChild("cardSyntheticBtn");
- m_loaGuide = (GLoader)comp.GetChild("loaGuide");
- m_btnLeft = (GButton)comp.GetChild("btnLeft");
- m_btnRight = (GButton)comp.GetChild("btnRight");
- m_touchLayer = (GGraph)comp.GetChild("touchLayer");
- m_t0 = comp.GetTransition("t0");
- m_t1 = comp.GetTransition("t1");
- m_open = comp.GetTransition("open");
- }
- public void Dispose(bool disposeTarget = false)
- {
- m_c1 = null;
- m_loaBg = null;
- m_comImgCard.Dispose();
- m_comImgCard = null;
- m_comCard.Dispose();
- m_comCard = null;
- m_loaListener = null;
- m_loaListener1 = null;
- m_ComFosterTop.Dispose();
- m_ComFosterTop = null;
- m_ComFosterBottom.Dispose();
- m_ComFosterBottom = null;
- m_cardSyntheticBtn = null;
- m_loaGuide = null;
- m_btnLeft = null;
- m_btnRight = null;
- m_touchLayer = null;
- m_t0 = null;
- m_t1 = null;
- m_open = null;
- if(disposeTarget && target != null)
- {
- target.RemoveFromParent();
- target.Dispose();
- }
- target = null;
- }
- }
- }
|