123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110 |
- /** This is an automatically generated class by FairyGUI. Please do not modify it. **/
- using FairyGUI;
- namespace UI.Share
- {
- public partial class UI_ShareUI
- {
- public GComponent target;
- public GGraph m_mask;
- public GImage m_icon;
- public GLoader m_CRCodeIcon;
- public GComponent m_head;
- public GTextField m_nameText;
- public GTextField m_levelText;
- public GButton m_btnShare;
- public GButton m_btnShareWX;
- public GButton m_btnShareWB;
- public GButton m_btnShareQQ;
- public GButton m_btnShareQQZone;
- public GButton m_btnShareDouYin;
- public GGroup m_shareGrade;
- public GButton m_btnClose;
- public const string URL = "ui://1f45z9smxfki0";
- public const string PACKAGE_NAME = "Share";
- public const string RES_NAME = "ShareUI";
- private static UI_ShareUI _proxy;
- public static UI_ShareUI Create(GObject gObject = null)
- {
- var ui = new UI_ShareUI();
- 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_ShareUI Proxy(GObject gObject = null)
- {
- if(_proxy == null)
- {
- _proxy = new UI_ShareUI();
- }
- 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_mask = (GGraph)comp.GetChild("mask");
- m_icon = (GImage)comp.GetChild("icon");
- m_CRCodeIcon = (GLoader)comp.GetChild("CRCodeIcon");
- m_head = (GComponent)comp.GetChild("head");
- m_nameText = (GTextField)comp.GetChild("nameText");
- m_levelText = (GTextField)comp.GetChild("levelText");
- m_btnShare = (GButton)comp.GetChild("btnShare");
- m_btnShareWX = (GButton)comp.GetChild("btnShareWX");
- m_btnShareWB = (GButton)comp.GetChild("btnShareWB");
- m_btnShareQQ = (GButton)comp.GetChild("btnShareQQ");
- m_btnShareQQZone = (GButton)comp.GetChild("btnShareQQZone");
- m_btnShareDouYin = (GButton)comp.GetChild("btnShareDouYin");
- m_shareGrade = (GGroup)comp.GetChild("shareGrade");
- m_btnClose = (GButton)comp.GetChild("btnClose");
- }
- public void Dispose(bool disposeTarget = false)
- {
- m_mask = null;
- m_icon = null;
- m_CRCodeIcon = null;
- m_head = null;
- m_nameText = null;
- m_levelText = null;
- m_btnShare = null;
- m_btnShareWX = null;
- m_btnShareWB = null;
- m_btnShareQQ = null;
- m_btnShareQQZone = null;
- m_btnShareDouYin = null;
- m_shareGrade = null;
- m_btnClose = null;
- if(disposeTarget && target != null)
- {
- target.RemoveFromParent();
- target.Dispose();
- }
- target = null;
- }
- }
- }
|