123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108 |
- /** This is an automatically generated class by FairyGUI. Please do not modify it. **/
- using FairyGUI;
- namespace UI.CommonGame
- {
- public partial class UI_ComTipsBase
- {
- public GComponent target;
- public GLoader m_loaIcon;
- public GLoader m_loaRarity;
- public GTextField m_txtType;
- public GTextField m_txtOwned;
- public GTextField m_txtDesc;
- public GTextField m_txtGong;
- public GTextField m_txtShang;
- public GTextField m_txtJue;
- public GTextField m_txtZhi;
- public GGroup m_grpScore;
- public GList m_listTag;
- public UI_ComScaleList m_comScaleList;
- public GGroup m_grpComScaleList;
- public const string URL = "ui://eg2y0ldpohbxti3";
- public const string PACKAGE_NAME = "CommonGame";
- public const string RES_NAME = "ComTipsBase";
- private static UI_ComTipsBase _proxy;
- public static UI_ComTipsBase Create(GObject gObject = null)
- {
- var ui = new UI_ComTipsBase();
- 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_ComTipsBase Proxy(GObject gObject = null)
- {
- if(_proxy == null)
- {
- _proxy = new UI_ComTipsBase();
- }
- 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_loaIcon = (GLoader)comp.GetChild("loaIcon");
- m_loaRarity = (GLoader)comp.GetChild("loaRarity");
- m_txtType = (GTextField)comp.GetChild("txtType");
- m_txtOwned = (GTextField)comp.GetChild("txtOwned");
- m_txtDesc = (GTextField)comp.GetChild("txtDesc");
- m_txtGong = (GTextField)comp.GetChild("txtGong");
- m_txtShang = (GTextField)comp.GetChild("txtShang");
- m_txtJue = (GTextField)comp.GetChild("txtJue");
- m_txtZhi = (GTextField)comp.GetChild("txtZhi");
- m_grpScore = (GGroup)comp.GetChild("grpScore");
- m_listTag = (GList)comp.GetChild("listTag");
- m_comScaleList = (UI_ComScaleList)UI_ComScaleList.Create(comp.GetChild("comScaleList"));
- m_grpComScaleList = (GGroup)comp.GetChild("grpComScaleList");
- }
- public void Dispose(bool disposeTarget = false)
- {
- m_loaIcon = null;
- m_loaRarity = null;
- m_txtType = null;
- m_txtOwned = null;
- m_txtDesc = null;
- m_txtGong = null;
- m_txtShang = null;
- m_txtJue = null;
- m_txtZhi = null;
- m_grpScore = null;
- m_listTag = null;
- m_comScaleList.Dispose();
- m_comScaleList = null;
- m_grpComScaleList = null;
- if(disposeTarget && target != null)
- {
- target.RemoveFromParent();
- target.Dispose();
- }
- target = null;
- }
- }
- }
|