12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788 |
- /** This is an automatically generated class by FairyGUI. Please do not modify it. **/
- using FairyGUI;
- namespace UI.Poem
- {
- public partial class UI_PoemPhotoSaveUI
- {
- public GComponent target;
- public Controller m_c1;
- public GGraph m_grhBg;
- public UI_ListPhotoPreviewItem m_personalPhoto;
- public GGraph m_saveImg;
- public GProgressBar m_progress;
- public UI_ComPostcard m_travelPhoto;
- public const string URL = "ui://iyz778gkdns3tl5";
- public const string PACKAGE_NAME = "Poem";
- public const string RES_NAME = "PoemPhotoSaveUI";
- private static UI_PoemPhotoSaveUI _proxy;
- public static UI_PoemPhotoSaveUI Create(GObject gObject = null)
- {
- var ui = new UI_PoemPhotoSaveUI();
- 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_PoemPhotoSaveUI Proxy(GObject gObject = null)
- {
- if(_proxy == null)
- {
- _proxy = new UI_PoemPhotoSaveUI();
- }
- 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_grhBg = (GGraph)comp.GetChild("grhBg");
- m_personalPhoto = (UI_ListPhotoPreviewItem)UI_ListPhotoPreviewItem.Create(comp.GetChild("personalPhoto"));
- m_saveImg = (GGraph)comp.GetChild("saveImg");
- m_progress = (GProgressBar)comp.GetChild("progress");
- m_travelPhoto = (UI_ComPostcard)UI_ComPostcard.Create(comp.GetChild("travelPhoto"));
- }
- public void Dispose(bool disposeTarget = false)
- {
- m_c1 = null;
- m_grhBg = null;
- m_personalPhoto.Dispose();
- m_personalPhoto = null;
- m_saveImg = null;
- m_progress = null;
- m_travelPhoto.Dispose();
- m_travelPhoto = null;
- if(disposeTarget && target != null)
- {
- target.RemoveFromParent();
- target.Dispose();
- }
- target = null;
- }
- }
- }
|