1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889 |
- /** This is an automatically generated class by FairyGUI. Please do not modify it. **/
- using FairyGUI;
- namespace UI.Main
- {
- public partial class UI_ButtonModleEffect
- {
- public GButton target;
- public Controller m_c1;
- public GLoader m_icon0;
- public GGraph m_holder;
- public GGraph m_holder1;
- public GLoader m_titleText;
- public GLoader m_iconMain;
- public GLoader m_loaLockIcons;
- public const string URL = "ui://mfvz4q8kdkxp9fyb";
- public const string PACKAGE_NAME = "Main";
- public const string RES_NAME = "ButtonModleEffect";
- private static UI_ButtonModleEffect _proxy;
- public static UI_ButtonModleEffect Create(GObject gObject = null)
- {
- var ui = new UI_ButtonModleEffect();
- if(gObject == null)
- ui.target = (GButton)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
- else
- ui.target = (GButton)gObject;
- ui.Init(ui.target);
- return ui;
- }
- public static UI_ButtonModleEffect Proxy(GObject gObject = null)
- {
- if(_proxy == null)
- {
- _proxy = new UI_ButtonModleEffect();
- }
- var ui = _proxy;
- if(gObject == null)
- ui.target = (GButton)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
- else
- ui.target = (GButton)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_icon0 = (GLoader)comp.GetChild("icon0");
- m_holder = (GGraph)comp.GetChild("holder");
- m_holder1 = (GGraph)comp.GetChild("holder1");
- m_titleText = (GLoader)comp.GetChild("titleText");
- m_iconMain = (GLoader)comp.GetChild("iconMain");
- m_loaLockIcons = (GLoader)comp.GetChild("loaLockIcons");
- }
- public void Dispose(bool disposeTarget = false)
- {
- m_c1 = null;
- m_icon0 = null;
- m_holder = null;
- m_holder1 = null;
- m_titleText = null;
- m_iconMain = null;
- m_loaLockIcons = null;
- if(disposeTarget && target != null)
- {
- target.RemoveFromParent();
- target.Dispose();
- }
- target = null;
- }
- }
- }
|