123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384 |
- /** This is an automatically generated class by FairyGUI. Please do not modify it. **/
- using FairyGUI;
- namespace UI.ActivityAFuGift
- {
- public partial class UI_reward
- {
- public GComponent target;
- public Controller m_c1;
- public GComponent m_reward_normal;
- public GComponent m_reward_vip1;
- public GComponent m_reward_vip2;
- public UI_day m_day;
- public const string URL = "ui://f3o25i6ljm6ke";
- public const string PACKAGE_NAME = "ActivityAFuGift";
- public const string RES_NAME = "reward";
- private static UI_reward _proxy;
- public static UI_reward Create(GObject gObject = null)
- {
- var ui = new UI_reward();
- 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_reward Proxy(GObject gObject = null)
- {
- if(_proxy == null)
- {
- _proxy = new UI_reward();
- }
- 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_reward_normal = (GComponent)comp.GetChild("reward_normal");
- m_reward_vip1 = (GComponent)comp.GetChild("reward_vip1");
- m_reward_vip2 = (GComponent)comp.GetChild("reward_vip2");
- m_day = (UI_day)UI_day.Create(comp.GetChild("day"));
- }
- public void Dispose(bool disposeTarget = false)
- {
- m_c1 = null;
- m_reward_normal = null;
- m_reward_vip1 = null;
- m_reward_vip2 = null;
- m_day.Dispose();
- m_day = null;
- if(disposeTarget && target != null)
- {
- target.RemoveFromParent();
- target.Dispose();
- }
- target = null;
- }
- }
- }
|