123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899 |
- /** This is an automatically generated class by FairyGUI. Please do not modify it. **/
- using FairyGUI;
- namespace UI.DressUp
- {
- public partial class UI_ComValueInfo
- {
- public GComponent target;
- public Controller m_c1;
- public Controller m_c2;
- public GTextField m_txtFightScore;
- public GButton m_btnFightScoreRule;
- public GLoader m_scoreType;
- public GTextField m_txtScore;
- public GButton m_btnTagRule;
- public GComponent m_comTag;
- public GTextField m_txtTagScore;
- public UI_ComFightScore m_comFightScore;
- public const string URL = "ui://mbo439wbv461f0";
- public const string PACKAGE_NAME = "DressUp";
- public const string RES_NAME = "ComValueInfo";
- private static UI_ComValueInfo _proxy;
- public static UI_ComValueInfo Create(GObject gObject = null)
- {
- var ui = new UI_ComValueInfo();
- 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_ComValueInfo Proxy(GObject gObject = null)
- {
- if(_proxy == null)
- {
- _proxy = new UI_ComValueInfo();
- }
- 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_c2 = comp.GetController("c2");
- m_txtFightScore = (GTextField)comp.GetChild("txtFightScore");
- m_btnFightScoreRule = (GButton)comp.GetChild("btnFightScoreRule");
- m_scoreType = (GLoader)comp.GetChild("scoreType");
- m_txtScore = (GTextField)comp.GetChild("txtScore");
- m_btnTagRule = (GButton)comp.GetChild("btnTagRule");
- m_comTag = (GComponent)comp.GetChild("comTag");
- m_txtTagScore = (GTextField)comp.GetChild("txtTagScore");
- m_comFightScore = (UI_ComFightScore)UI_ComFightScore.Create(comp.GetChild("comFightScore"));
- }
- public void Dispose(bool disposeTarget = false)
- {
- m_c1 = null;
- m_c2 = null;
- m_txtFightScore = null;
- m_btnFightScoreRule = null;
- m_scoreType = null;
- m_txtScore = null;
- m_btnTagRule = null;
- m_comTag = null;
- m_txtTagScore = null;
- m_comFightScore.Dispose();
- m_comFightScore = null;
- if(disposeTarget && target != null)
- {
- target.RemoveFromParent();
- target.Dispose();
- }
- target = null;
- }
- }
- }
|