|
@@ -0,0 +1,89 @@
|
|
|
+/** 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_loaLockIcons;
|
|
|
+ public GLoader m_iconMain;
|
|
|
+ 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_loaLockIcons = (GLoader)comp.GetChild("loaLockIcons");
|
|
|
+ m_iconMain = (GLoader)comp.GetChild("iconMain");
|
|
|
+ }
|
|
|
+ public void Dispose(bool disposeTarget = false)
|
|
|
+ {
|
|
|
+ m_c1 = null;
|
|
|
+ m_icon0 = null;
|
|
|
+ m_holder = null;
|
|
|
+ m_holder1 = null;
|
|
|
+ m_titleText = null;
|
|
|
+ m_loaLockIcons = null;
|
|
|
+ m_iconMain = null;
|
|
|
+ if(disposeTarget && target != null)
|
|
|
+ {
|
|
|
+ target.RemoveFromParent();
|
|
|
+ target.Dispose();
|
|
|
+ }
|
|
|
+ target = null;
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|