/** This is an automatically generated class by FairyGUI. Please do not modify it. **/ using FairyGUI; namespace UI.Store { public partial class UI_BrocadeWeavRewardItem { public GComponent target; public Controller m_c1; public Controller m_c2; public GImage m_imageProgress; public GTextField m_Level; public GButton m_GetRewardBt; public GButton m_ContinueBt; public GButton m_ComeBt; public GComponent m_NormalReward; public GList m_RewardList; public GLoader m_touch; public GImage m_ImgBgGray; public GImage m_ImgLock; public const string URL = "ui://p9mtgheoot07td8"; public const string PACKAGE_NAME = "Store"; public const string RES_NAME = "BrocadeWeavRewardItem"; private static UI_BrocadeWeavRewardItem _proxy; public static UI_BrocadeWeavRewardItem Create(GObject gObject = null) { var ui = new UI_BrocadeWeavRewardItem(); 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_BrocadeWeavRewardItem Proxy(GObject gObject = null) { if(_proxy == null) { _proxy = new UI_BrocadeWeavRewardItem(); } 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_imageProgress = (GImage)comp.GetChild("imageProgress"); m_Level = (GTextField)comp.GetChild("Level"); m_GetRewardBt = (GButton)comp.GetChild("GetRewardBt"); m_ContinueBt = (GButton)comp.GetChild("ContinueBt"); m_ComeBt = (GButton)comp.GetChild("ComeBt"); m_NormalReward = (GComponent)comp.GetChild("NormalReward"); m_RewardList = (GList)comp.GetChild("RewardList"); m_touch = (GLoader)comp.GetChild("touch"); m_ImgBgGray = (GImage)comp.GetChild("ImgBgGray"); m_ImgLock = (GImage)comp.GetChild("ImgLock"); } public void Dispose(bool disposeTarget = false) { m_c1 = null; m_c2 = null; m_imageProgress = null; m_Level = null; m_GetRewardBt = null; m_ContinueBt = null; m_ComeBt = null; m_NormalReward = null; m_RewardList = null; m_touch = null; m_ImgBgGray = null; m_ImgLock = null; if(disposeTarget && target != null) { target.RemoveFromParent(); target.Dispose(); } target = null; } } }