123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124 |
- /** This is an automatically generated class by FairyGUI. Please do not modify it. **/
- using FairyGUI;
- namespace UI.MiniGame
- {
- public partial class UI_MergeGameUI
- {
- public GComponent target;
- public GLoader m_bg;
- public GLoader m_backBtn;
- public GComponent m_rangeTop;
- public GComponent m_rangeDown;
- public GTextField m_name;
- public GTextField m_desc;
- public GButton m_MergeTipBtn;
- public UI_Button11 m_sellBtn;
- public GLoader m_taskBg;
- public GTextField m_rewardNum;
- public UI_MaterialItem m_rewardOne;
- public UI_MaterialItem m_rewardTwo;
- public GLoader m_rewardIcon;
- public GButton m_rewardGet;
- public GButton m_shopBtn;
- public UI_NewMaterialShowView m_newMaterial;
- public UI_MergeGameItemUI m_guildDouBaoBtn;
- public const string URL = "ui://wgkh30qjqbf42v";
- public const string PACKAGE_NAME = "MiniGame";
- public const string RES_NAME = "MergeGameUI";
- private static UI_MergeGameUI _proxy;
- public static UI_MergeGameUI Create(GObject gObject = null)
- {
- var ui = new UI_MergeGameUI();
- 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_MergeGameUI Proxy(GObject gObject = null)
- {
- if(_proxy == null)
- {
- _proxy = new UI_MergeGameUI();
- }
- 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_bg = (GLoader)comp.GetChild("bg");
- m_backBtn = (GLoader)comp.GetChild("backBtn");
- m_rangeTop = (GComponent)comp.GetChild("rangeTop");
- m_rangeDown = (GComponent)comp.GetChild("rangeDown");
- m_name = (GTextField)comp.GetChild("name");
- m_desc = (GTextField)comp.GetChild("desc");
- m_MergeTipBtn = (GButton)comp.GetChild("MergeTipBtn");
- m_sellBtn = (UI_Button11)UI_Button11.Create(comp.GetChild("sellBtn"));
- m_taskBg = (GLoader)comp.GetChild("taskBg");
- m_rewardNum = (GTextField)comp.GetChild("rewardNum");
- m_rewardOne = (UI_MaterialItem)UI_MaterialItem.Create(comp.GetChild("rewardOne"));
- m_rewardTwo = (UI_MaterialItem)UI_MaterialItem.Create(comp.GetChild("rewardTwo"));
- m_rewardIcon = (GLoader)comp.GetChild("rewardIcon");
- m_rewardGet = (GButton)comp.GetChild("rewardGet");
- m_shopBtn = (GButton)comp.GetChild("shopBtn");
- m_newMaterial = (UI_NewMaterialShowView)UI_NewMaterialShowView.Create(comp.GetChild("newMaterial"));
- m_guildDouBaoBtn = (UI_MergeGameItemUI)UI_MergeGameItemUI.Create(comp.GetChild("guildDouBaoBtn"));
- }
- public void Dispose(bool disposeTarget = false)
- {
- m_bg = null;
- m_backBtn = null;
- m_rangeTop = null;
- m_rangeDown = null;
- m_name = null;
- m_desc = null;
- m_MergeTipBtn = null;
- m_sellBtn.Dispose();
- m_sellBtn = null;
- m_taskBg = null;
- m_rewardNum = null;
- m_rewardOne.Dispose();
- m_rewardOne = null;
- m_rewardTwo.Dispose();
- m_rewardTwo = null;
- m_rewardIcon = null;
- m_rewardGet = null;
- m_shopBtn = null;
- m_newMaterial.Dispose();
- m_newMaterial = null;
- m_guildDouBaoBtn.Dispose();
- m_guildDouBaoBtn = null;
- if(disposeTarget && target != null)
- {
- target.RemoveFromParent();
- target.Dispose();
- }
- target = null;
- }
- }
- }
|