123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104 |
- /** This is an automatically generated class by FairyGUI. Please do not modify it. **/
- using FairyGUI;
- namespace UI.MiniGame
- {
- public partial class UI_ResultTipsUI
- {
- public GComponent target;
- public GLoader m_resultTitle;
- public GTextField m_failTxt;
- public GLoader m_star1;
- public GLoader m_star2;
- public GLoader m_star3;
- public GGroup m_success;
- public GTextField m_resultTxt;
- public GList m_rewardList;
- public GLoader m_againBtn;
- public GLoader m_exitBtn;
- public GLoader m_consumeIcon;
- public GTextField m_consumeTxt;
- public const string URL = "ui://wgkh30qjlw8c1w";
- public const string PACKAGE_NAME = "MiniGame";
- public const string RES_NAME = "ResultTipsUI";
- private static UI_ResultTipsUI _proxy;
- public static UI_ResultTipsUI Create(GObject gObject = null)
- {
- var ui = new UI_ResultTipsUI();
- 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_ResultTipsUI Proxy(GObject gObject = null)
- {
- if(_proxy == null)
- {
- _proxy = new UI_ResultTipsUI();
- }
- 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_resultTitle = (GLoader)comp.GetChild("resultTitle");
- m_failTxt = (GTextField)comp.GetChild("failTxt");
- m_star1 = (GLoader)comp.GetChild("star1");
- m_star2 = (GLoader)comp.GetChild("star2");
- m_star3 = (GLoader)comp.GetChild("star3");
- m_success = (GGroup)comp.GetChild("success");
- m_resultTxt = (GTextField)comp.GetChild("resultTxt");
- m_rewardList = (GList)comp.GetChild("rewardList");
- m_againBtn = (GLoader)comp.GetChild("againBtn");
- m_exitBtn = (GLoader)comp.GetChild("exitBtn");
- m_consumeIcon = (GLoader)comp.GetChild("consumeIcon");
- m_consumeTxt = (GTextField)comp.GetChild("consumeTxt");
- }
- public void Dispose(bool disposeTarget = false)
- {
- m_resultTitle = null;
- m_failTxt = null;
- m_star1 = null;
- m_star2 = null;
- m_star3 = null;
- m_success = null;
- m_resultTxt = null;
- m_rewardList = null;
- m_againBtn = null;
- m_exitBtn = null;
- m_consumeIcon = null;
- m_consumeTxt = null;
- if(disposeTarget && target != null)
- {
- target.RemoveFromParent();
- target.Dispose();
- }
- target = null;
- }
- }
- }
|