UI_LoginUI.cs 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. /** This is an automatically generated class by FairyGUI. Please do not modify it. **/
  2. using FairyGUI;
  3. namespace UI.Login
  4. {
  5. public partial class UI_LoginUI
  6. {
  7. public GComponent target;
  8. public GImage m_imgLogo;
  9. public GTextField m_txtVersion;
  10. public GButton m_btnNotice;
  11. public GButton m_btnLogout;
  12. public GButton m_btnStart;
  13. public GButton m_btnChange;
  14. public GButton m_btnTapLogin;
  15. public GButton m_btnAgree;
  16. public GRichTextField m_richTextAgree;
  17. public GLoader m_loaEventa;
  18. public GLoader m_loaEventb;
  19. public GLoader m_loaEventc;
  20. public GTextField m_txtBottom;
  21. public GTextField m_txtBottom2;
  22. public GGroup m_groupBottom;
  23. public GButton m_btnAge;
  24. public const string URL = "ui://myoktu7pl55o0";
  25. public const string PACKAGE_NAME = "Login";
  26. public const string RES_NAME = "LoginUI";
  27. private static UI_LoginUI _proxy;
  28. public static UI_LoginUI Create(GObject gObject = null)
  29. {
  30. var ui = new UI_LoginUI();
  31. if(gObject == null)
  32. ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
  33. else
  34. ui.target = (GComponent)gObject;
  35. ui.Init(ui.target);
  36. return ui;
  37. }
  38. public static UI_LoginUI Proxy(GObject gObject = null)
  39. {
  40. if(_proxy == null)
  41. {
  42. _proxy = new UI_LoginUI();
  43. }
  44. var ui = _proxy;
  45. if(gObject == null)
  46. ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
  47. else
  48. ui.target = (GComponent)gObject;
  49. ui.Init(ui.target);
  50. return ui;
  51. }
  52. public static void ProxyEnd()
  53. {
  54. if (_proxy != null)
  55. {
  56. _proxy.Dispose();
  57. }
  58. }
  59. public static void ClearProxy()
  60. {
  61. ProxyEnd();
  62. _proxy = null;
  63. }
  64. private void Init(GComponent comp)
  65. {
  66. m_imgLogo = (GImage)comp.GetChild("imgLogo");
  67. m_txtVersion = (GTextField)comp.GetChild("txtVersion");
  68. m_btnNotice = (GButton)comp.GetChild("btnNotice");
  69. m_btnLogout = (GButton)comp.GetChild("btnLogout");
  70. m_btnStart = (GButton)comp.GetChild("btnStart");
  71. m_btnChange = (GButton)comp.GetChild("btnChange");
  72. m_btnTapLogin = (GButton)comp.GetChild("btnTapLogin");
  73. m_btnAgree = (GButton)comp.GetChild("btnAgree");
  74. m_richTextAgree = (GRichTextField)comp.GetChild("richTextAgree");
  75. m_loaEventa = (GLoader)comp.GetChild("loaEventa");
  76. m_loaEventb = (GLoader)comp.GetChild("loaEventb");
  77. m_loaEventc = (GLoader)comp.GetChild("loaEventc");
  78. m_txtBottom = (GTextField)comp.GetChild("txtBottom");
  79. m_txtBottom2 = (GTextField)comp.GetChild("txtBottom2");
  80. m_groupBottom = (GGroup)comp.GetChild("groupBottom");
  81. m_btnAge = (GButton)comp.GetChild("btnAge");
  82. }
  83. public void Dispose(bool disposeTarget = false)
  84. {
  85. m_imgLogo = null;
  86. m_txtVersion = null;
  87. m_btnNotice = null;
  88. m_btnLogout = null;
  89. m_btnStart = null;
  90. m_btnChange = null;
  91. m_btnTapLogin = null;
  92. m_btnAgree = null;
  93. m_richTextAgree = null;
  94. m_loaEventa = null;
  95. m_loaEventb = null;
  96. m_loaEventc = null;
  97. m_txtBottom = null;
  98. m_txtBottom2 = null;
  99. m_groupBottom = null;
  100. m_btnAge = null;
  101. if(disposeTarget && target != null)
  102. {
  103. target.RemoveFromParent();
  104. target.Dispose();
  105. }
  106. target = null;
  107. }
  108. }
  109. }