/** This is an automatically generated class by FairyGUI. Please do not modify it. **/ using FairyGUI; namespace UI.TimeTracing { public partial class UI_TimeTracingLevelInfoUI { public GComponent target; public GLoader m_backBtn; public GLoader m_btnBg; public GButton m_btnStart; public GLoader m_loaderHead; public GTextField m_txtTargetName; public GTextField m_txtTitle; public GTextField m_txtHighestScore; public UI_CompFlower1 m_flower; public GLoader m_scoreType; public GRichTextField m_txtAddition; public GButton m_btnAdditionDesc; public GTextField m_txtAdditionDesc; public GGroup m_grpAdditionDesc; public GTextField m_txtLevelDesc; public GList m_listBonus; public GButton m_btnFightOnce; public GButton m_btnFightTimes; public GGroup m_groupPass; public GTextField m_txtUnpassTips; public GGroup m_groupUnpass; public GComponent m_comCostCurrent; public GTextField m_limitNum; public GLoader m_addBtn; public GLoader m_ruleBtn; public UI_Button7 m_suitAddBtn; public UI_Button7 m_scoreRewardBtn; public UI_Button8 m_levelRankBtn; public const string URL = "ui://gayfh946iwcl22"; public const string PACKAGE_NAME = "TimeTracing"; public const string RES_NAME = "TimeTracingLevelInfoUI"; private static UI_TimeTracingLevelInfoUI _proxy; public static UI_TimeTracingLevelInfoUI Create(GObject gObject = null) { var ui = new UI_TimeTracingLevelInfoUI(); 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_TimeTracingLevelInfoUI Proxy(GObject gObject = null) { if(_proxy == null) { _proxy = new UI_TimeTracingLevelInfoUI(); } 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_backBtn = (GLoader)comp.GetChild("backBtn"); m_btnBg = (GLoader)comp.GetChild("btnBg"); m_btnStart = (GButton)comp.GetChild("btnStart"); m_loaderHead = (GLoader)comp.GetChild("loaderHead"); m_txtTargetName = (GTextField)comp.GetChild("txtTargetName"); m_txtTitle = (GTextField)comp.GetChild("txtTitle"); m_txtHighestScore = (GTextField)comp.GetChild("txtHighestScore"); m_flower = (UI_CompFlower1)UI_CompFlower1.Create(comp.GetChild("flower")); m_scoreType = (GLoader)comp.GetChild("scoreType"); m_txtAddition = (GRichTextField)comp.GetChild("txtAddition"); m_btnAdditionDesc = (GButton)comp.GetChild("btnAdditionDesc"); m_txtAdditionDesc = (GTextField)comp.GetChild("txtAdditionDesc"); m_grpAdditionDesc = (GGroup)comp.GetChild("grpAdditionDesc"); m_txtLevelDesc = (GTextField)comp.GetChild("txtLevelDesc"); m_listBonus = (GList)comp.GetChild("listBonus"); m_btnFightOnce = (GButton)comp.GetChild("btnFightOnce"); m_btnFightTimes = (GButton)comp.GetChild("btnFightTimes"); m_groupPass = (GGroup)comp.GetChild("groupPass"); m_txtUnpassTips = (GTextField)comp.GetChild("txtUnpassTips"); m_groupUnpass = (GGroup)comp.GetChild("groupUnpass"); m_comCostCurrent = (GComponent)comp.GetChild("comCostCurrent"); m_limitNum = (GTextField)comp.GetChild("limitNum"); m_addBtn = (GLoader)comp.GetChild("addBtn"); m_ruleBtn = (GLoader)comp.GetChild("ruleBtn"); m_suitAddBtn = (UI_Button7)UI_Button7.Create(comp.GetChild("suitAddBtn")); m_scoreRewardBtn = (UI_Button7)UI_Button7.Create(comp.GetChild("scoreRewardBtn")); m_levelRankBtn = (UI_Button8)UI_Button8.Create(comp.GetChild("levelRankBtn")); } public void Dispose(bool disposeTarget = false) { m_backBtn = null; m_btnBg = null; m_btnStart = null; m_loaderHead = null; m_txtTargetName = null; m_txtTitle = null; m_txtHighestScore = null; m_flower.Dispose(); m_flower = null; m_scoreType = null; m_txtAddition = null; m_btnAdditionDesc = null; m_txtAdditionDesc = null; m_grpAdditionDesc = null; m_txtLevelDesc = null; m_listBonus = null; m_btnFightOnce = null; m_btnFightTimes = null; m_groupPass = null; m_txtUnpassTips = null; m_groupUnpass = null; m_comCostCurrent = null; m_limitNum = null; m_addBtn = null; m_ruleBtn = null; m_suitAddBtn.Dispose(); m_suitAddBtn = null; m_scoreRewardBtn.Dispose(); m_scoreRewardBtn = null; m_levelRankBtn.Dispose(); m_levelRankBtn = null; if(disposeTarget && target != null) { target.RemoveFromParent(); target.Dispose(); } target = null; } } }