123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100 |
- /** This is an automatically generated class by FairyGUI. Please do not modify it. **/
- using FairyGUI;
- namespace UI.Studio
- {
- public partial class UI_StudioUI
- {
- public GComponent target;
- public GLoader m_loaBg;
- public GButton m_btnBack;
- public GButton m_btnHome;
- public UI_ComEctype m_comMetal;
- public UI_ComEctype m_comFabric;
- public UI_ComEctype m_comProperty;
- public UI_ComEctype m_comFiling;
- public UI_ComEctype m_comPorcelain;
- public GGraph m_bgEffect;
- public const string URL = "ui://xz8kxrecrbxq0";
- public const string PACKAGE_NAME = "Studio";
- public const string RES_NAME = "StudioUI";
- private static UI_StudioUI _proxy;
- public static UI_StudioUI Create(GObject gObject = null)
- {
- var ui = new UI_StudioUI();
- 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_StudioUI Proxy(GObject gObject = null)
- {
- if(_proxy == null)
- {
- _proxy = new UI_StudioUI();
- }
- 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_loaBg = (GLoader)comp.GetChild("loaBg");
- m_btnBack = (GButton)comp.GetChild("btnBack");
- m_btnHome = (GButton)comp.GetChild("btnHome");
- m_comMetal = (UI_ComEctype)UI_ComEctype.Create(comp.GetChild("comMetal"));
- m_comFabric = (UI_ComEctype)UI_ComEctype.Create(comp.GetChild("comFabric"));
- m_comProperty = (UI_ComEctype)UI_ComEctype.Create(comp.GetChild("comProperty"));
- m_comFiling = (UI_ComEctype)UI_ComEctype.Create(comp.GetChild("comFiling"));
- m_comPorcelain = (UI_ComEctype)UI_ComEctype.Create(comp.GetChild("comPorcelain"));
- m_bgEffect = (GGraph)comp.GetChild("bgEffect");
- }
- public void Dispose(bool disposeTarget = false)
- {
- m_loaBg = null;
- m_btnBack = null;
- m_btnHome = null;
- m_comMetal.Dispose();
- m_comMetal = null;
- m_comFabric.Dispose();
- m_comFabric = null;
- m_comProperty.Dispose();
- m_comProperty = null;
- m_comFiling.Dispose();
- m_comFiling = null;
- m_comPorcelain.Dispose();
- m_comPorcelain = null;
- m_bgEffect = null;
- if(disposeTarget && target != null)
- {
- target.RemoveFromParent();
- target.Dispose();
- }
- target = null;
- }
- }
- }
|