UI_LoginInputUI.cs 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  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_LoginInputUI
  6. {
  7. public GComponent target;
  8. public GComponent m_bg;
  9. public GTextInput m_inputPassword;
  10. public GButton m_btnCancel;
  11. public GButton m_btnSure;
  12. public GComboBox m_boxChooseCanal;
  13. public UI_ComAccountInputBox m_comAccount;
  14. public GButton m_btnSkipUpInfo;
  15. public GButton m_btnRegister;
  16. public const string URL = "ui://myoktu7pq08xc";
  17. public const string PACKAGE_NAME = "Login";
  18. public const string RES_NAME = "LoginInputUI";
  19. private static UI_LoginInputUI _proxy;
  20. public static UI_LoginInputUI Create(GObject gObject = null)
  21. {
  22. var ui = new UI_LoginInputUI();
  23. if(gObject == null)
  24. ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
  25. else
  26. ui.target = (GComponent)gObject;
  27. ui.Init(ui.target);
  28. return ui;
  29. }
  30. public static UI_LoginInputUI Proxy(GObject gObject = null)
  31. {
  32. if(_proxy == null)
  33. {
  34. _proxy = new UI_LoginInputUI();
  35. }
  36. var ui = _proxy;
  37. if(gObject == null)
  38. ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
  39. else
  40. ui.target = (GComponent)gObject;
  41. ui.Init(ui.target);
  42. return ui;
  43. }
  44. public static void ProxyEnd()
  45. {
  46. if (_proxy != null)
  47. {
  48. _proxy.Dispose();
  49. }
  50. }
  51. public static void ClearProxy()
  52. {
  53. ProxyEnd();
  54. _proxy = null;
  55. }
  56. private void Init(GComponent comp)
  57. {
  58. m_bg = (GComponent)comp.GetChild("bg");
  59. m_inputPassword = (GTextInput)comp.GetChild("inputPassword");
  60. m_btnCancel = (GButton)comp.GetChild("btnCancel");
  61. m_btnSure = (GButton)comp.GetChild("btnSure");
  62. m_boxChooseCanal = (GComboBox)comp.GetChild("boxChooseCanal");
  63. m_comAccount = (UI_ComAccountInputBox)UI_ComAccountInputBox.Create(comp.GetChild("comAccount"));
  64. m_btnSkipUpInfo = (GButton)comp.GetChild("btnSkipUpInfo");
  65. m_btnRegister = (GButton)comp.GetChild("btnRegister");
  66. }
  67. public void Dispose(bool disposeTarget = false)
  68. {
  69. m_bg = null;
  70. m_inputPassword = null;
  71. m_btnCancel = null;
  72. m_btnSure = null;
  73. m_boxChooseCanal = null;
  74. m_comAccount.Dispose();
  75. m_comAccount = null;
  76. m_btnSkipUpInfo = null;
  77. m_btnRegister = null;
  78. if(disposeTarget && target != null)
  79. {
  80. target.RemoveFromParent();
  81. target.Dispose();
  82. }
  83. target = null;
  84. }
  85. }
  86. }