UI_MatchingCompetitionSelectUI.cs 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. /** This is an automatically generated class by FairyGUI. Please do not modify it. **/
  2. using FairyGUI;
  3. namespace UI.MatchingCompetition
  4. {
  5. public partial class UI_MatchingCompetitionSelectUI
  6. {
  7. public GComponent target;
  8. public GLoader m_bg;
  9. public UI_Component12 m_playerShow1;
  10. public UI_Component13 m_playerShow2;
  11. public GLoader m_ruleBtn;
  12. public GTextField m_titleText;
  13. public UI_Component11 m_player1;
  14. public UI_Component11 m_player2;
  15. public UI_Button3 m_select1;
  16. public GTextField m_selectText1;
  17. public UI_Button3 m_select2;
  18. public GTextField m_selectText2;
  19. public GTextField m_timeText;
  20. public GButton m_BtnBack;
  21. public Transition m_t0;
  22. public Transition m_t1;
  23. public const string URL = "ui://ri3cveycp3ft1s";
  24. public const string PACKAGE_NAME = "MatchingCompetition";
  25. public const string RES_NAME = "MatchingCompetitionSelectUI";
  26. private static UI_MatchingCompetitionSelectUI _proxy;
  27. public static UI_MatchingCompetitionSelectUI Create(GObject gObject = null)
  28. {
  29. var ui = new UI_MatchingCompetitionSelectUI();
  30. if(gObject == null)
  31. ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
  32. else
  33. ui.target = (GComponent)gObject;
  34. ui.Init(ui.target);
  35. return ui;
  36. }
  37. public static UI_MatchingCompetitionSelectUI Proxy(GObject gObject = null)
  38. {
  39. if(_proxy == null)
  40. {
  41. _proxy = new UI_MatchingCompetitionSelectUI();
  42. }
  43. var ui = _proxy;
  44. if(gObject == null)
  45. ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
  46. else
  47. ui.target = (GComponent)gObject;
  48. ui.Init(ui.target);
  49. return ui;
  50. }
  51. public static void ProxyEnd()
  52. {
  53. if (_proxy != null)
  54. {
  55. _proxy.Dispose();
  56. }
  57. }
  58. public static void ClearProxy()
  59. {
  60. ProxyEnd();
  61. _proxy = null;
  62. }
  63. private void Init(GComponent comp)
  64. {
  65. m_bg = (GLoader)comp.GetChild("bg");
  66. m_playerShow1 = (UI_Component12)UI_Component12.Create(comp.GetChild("playerShow1"));
  67. m_playerShow2 = (UI_Component13)UI_Component13.Create(comp.GetChild("playerShow2"));
  68. m_ruleBtn = (GLoader)comp.GetChild("ruleBtn");
  69. m_titleText = (GTextField)comp.GetChild("titleText");
  70. m_player1 = (UI_Component11)UI_Component11.Create(comp.GetChild("player1"));
  71. m_player2 = (UI_Component11)UI_Component11.Create(comp.GetChild("player2"));
  72. m_select1 = (UI_Button3)UI_Button3.Create(comp.GetChild("select1"));
  73. m_selectText1 = (GTextField)comp.GetChild("selectText1");
  74. m_select2 = (UI_Button3)UI_Button3.Create(comp.GetChild("select2"));
  75. m_selectText2 = (GTextField)comp.GetChild("selectText2");
  76. m_timeText = (GTextField)comp.GetChild("timeText");
  77. m_BtnBack = (GButton)comp.GetChild("BtnBack");
  78. m_t0 = comp.GetTransition("t0");
  79. m_t1 = comp.GetTransition("t1");
  80. }
  81. public void Dispose(bool disposeTarget = false)
  82. {
  83. m_bg = null;
  84. m_playerShow1.Dispose();
  85. m_playerShow1 = null;
  86. m_playerShow2.Dispose();
  87. m_playerShow2 = null;
  88. m_ruleBtn = null;
  89. m_titleText = null;
  90. m_player1.Dispose();
  91. m_player1 = null;
  92. m_player2.Dispose();
  93. m_player2 = null;
  94. m_select1.Dispose();
  95. m_select1 = null;
  96. m_selectText1 = null;
  97. m_select2.Dispose();
  98. m_select2 = null;
  99. m_selectText2 = null;
  100. m_timeText = null;
  101. m_BtnBack = null;
  102. m_t0 = null;
  103. m_t1 = null;
  104. if(disposeTarget && target != null)
  105. {
  106. target.RemoveFromParent();
  107. target.Dispose();
  108. }
  109. target = null;
  110. }
  111. }
  112. }