/** This is an automatically generated class by FairyGUI. Please do not modify it. **/ using FairyGUI; namespace UI.Main { public partial class UI_StoryLevelInfoUI { public GComponent target; public Controller m_ctrlNeed; public GLoader m_btnBg; public GButton m_btnStart; public GTextField m_txtTitle; public GTextField m_txtHighestScore; public GTextField m_txtNeed; public GList m_listTag; public GTextField m_txtLevelDesc; public GLoader m_loaderHead; public GTextField m_txtPowerDesc; public GTextField m_txtTargetName; public GButton m_btnFightOnce; public GButton m_btnFightTimes; public GGroup m_groupPass; public GTextField m_txtUnpassTips; public GGroup m_groupUnpass; public UI_CompFlower1 m_flower; public GList m_listBonus; public GLoader m_scoreType; public GLoader m_btnClose; public const string URL = "ui://mfvz4q8kvxw538"; public const string PACKAGE_NAME = "Main"; public const string RES_NAME = "StoryLevelInfoUI"; private static UI_StoryLevelInfoUI _proxy; public static UI_StoryLevelInfoUI Create(GObject gObject = null) { var ui = new UI_StoryLevelInfoUI(); 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_StoryLevelInfoUI Proxy(GObject gObject = null) { if(_proxy == null) { _proxy = new UI_StoryLevelInfoUI(); } 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_ctrlNeed = comp.GetController("ctrlNeed"); m_btnBg = (GLoader)comp.GetChild("btnBg"); m_btnStart = (GButton)comp.GetChild("btnStart"); m_txtTitle = (GTextField)comp.GetChild("txtTitle"); m_txtHighestScore = (GTextField)comp.GetChild("txtHighestScore"); m_txtNeed = (GTextField)comp.GetChild("txtNeed"); m_listTag = (GList)comp.GetChild("listTag"); m_txtLevelDesc = (GTextField)comp.GetChild("txtLevelDesc"); m_loaderHead = (GLoader)comp.GetChild("loaderHead"); m_txtPowerDesc = (GTextField)comp.GetChild("txtPowerDesc"); m_txtTargetName = (GTextField)comp.GetChild("txtTargetName"); 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_flower = (UI_CompFlower1)UI_CompFlower1.Create(comp.GetChild("flower")); m_listBonus = (GList)comp.GetChild("listBonus"); m_scoreType = (GLoader)comp.GetChild("scoreType"); m_btnClose = (GLoader)comp.GetChild("btnClose"); } public void Dispose(bool disposeTarget = false) { m_ctrlNeed = null; m_btnBg = null; m_btnStart = null; m_txtTitle = null; m_txtHighestScore = null; m_txtNeed = null; m_listTag = null; m_txtLevelDesc = null; m_loaderHead = null; m_txtPowerDesc = null; m_txtTargetName = null; m_btnFightOnce = null; m_btnFightTimes = null; m_groupPass = null; m_txtUnpassTips = null; m_groupUnpass = null; m_flower.Dispose(); m_flower = null; m_listBonus = null; m_scoreType = null; m_btnClose = null; if(disposeTarget && target != null) { target.RemoveFromParent(); target.Dispose(); } target = null; } } }