UI_TZFEGameCheckUI.cs 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  1. /** This is an automatically generated class by FairyGUI. Please do not modify it. **/
  2. using FairyGUI;
  3. namespace UI.MiniGame
  4. {
  5. public partial class UI_TZFEGameCheckUI
  6. {
  7. public GComponent target;
  8. public GLoader m_backBtn;
  9. public GLoader m_bg;
  10. public GLoader m_gameBg1;
  11. public GTextField m_gameTitle1;
  12. public GLoader m_game1;
  13. public GLoader m_newGame1;
  14. public GLoader m_needIcon1;
  15. public GTextField m_needNum1;
  16. public GLoader m_gameLock1;
  17. public GLoader m_gameBg2;
  18. public GTextField m_gameTitle2;
  19. public GLoader m_game2;
  20. public GLoader m_newGame2;
  21. public GLoader m_gameLock2;
  22. public GLoader m_needIcon2;
  23. public GTextField m_needNum2;
  24. public GLoader m_gameBg3;
  25. public GTextField m_gameTitle3;
  26. public GLoader m_game3;
  27. public GLoader m_newGame3;
  28. public GLoader m_gameLock3;
  29. public GLoader m_needIcon3;
  30. public GTextField m_needNum3;
  31. public GLoader m_tipsOne;
  32. public const string URL = "ui://wgkh30qjnjon2n";
  33. public const string PACKAGE_NAME = "MiniGame";
  34. public const string RES_NAME = "TZFEGameCheckUI";
  35. private static UI_TZFEGameCheckUI _proxy;
  36. public static UI_TZFEGameCheckUI Create(GObject gObject = null)
  37. {
  38. var ui = new UI_TZFEGameCheckUI();
  39. if(gObject == null)
  40. ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
  41. else
  42. ui.target = (GComponent)gObject;
  43. ui.Init(ui.target);
  44. return ui;
  45. }
  46. public static UI_TZFEGameCheckUI Proxy(GObject gObject = null)
  47. {
  48. if(_proxy == null)
  49. {
  50. _proxy = new UI_TZFEGameCheckUI();
  51. }
  52. var ui = _proxy;
  53. if(gObject == null)
  54. ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
  55. else
  56. ui.target = (GComponent)gObject;
  57. ui.Init(ui.target);
  58. return ui;
  59. }
  60. public static void ProxyEnd()
  61. {
  62. if (_proxy != null)
  63. {
  64. _proxy.Dispose();
  65. }
  66. }
  67. public static void ClearProxy()
  68. {
  69. ProxyEnd();
  70. _proxy = null;
  71. }
  72. private void Init(GComponent comp)
  73. {
  74. m_backBtn = (GLoader)comp.GetChild("backBtn");
  75. m_bg = (GLoader)comp.GetChild("bg");
  76. m_gameBg1 = (GLoader)comp.GetChild("gameBg1");
  77. m_gameTitle1 = (GTextField)comp.GetChild("gameTitle1");
  78. m_game1 = (GLoader)comp.GetChild("game1");
  79. m_newGame1 = (GLoader)comp.GetChild("newGame1");
  80. m_needIcon1 = (GLoader)comp.GetChild("needIcon1");
  81. m_needNum1 = (GTextField)comp.GetChild("needNum1");
  82. m_gameLock1 = (GLoader)comp.GetChild("gameLock1");
  83. m_gameBg2 = (GLoader)comp.GetChild("gameBg2");
  84. m_gameTitle2 = (GTextField)comp.GetChild("gameTitle2");
  85. m_game2 = (GLoader)comp.GetChild("game2");
  86. m_newGame2 = (GLoader)comp.GetChild("newGame2");
  87. m_gameLock2 = (GLoader)comp.GetChild("gameLock2");
  88. m_needIcon2 = (GLoader)comp.GetChild("needIcon2");
  89. m_needNum2 = (GTextField)comp.GetChild("needNum2");
  90. m_gameBg3 = (GLoader)comp.GetChild("gameBg3");
  91. m_gameTitle3 = (GTextField)comp.GetChild("gameTitle3");
  92. m_game3 = (GLoader)comp.GetChild("game3");
  93. m_newGame3 = (GLoader)comp.GetChild("newGame3");
  94. m_gameLock3 = (GLoader)comp.GetChild("gameLock3");
  95. m_needIcon3 = (GLoader)comp.GetChild("needIcon3");
  96. m_needNum3 = (GTextField)comp.GetChild("needNum3");
  97. m_tipsOne = (GLoader)comp.GetChild("tipsOne");
  98. }
  99. public void Dispose(bool disposeTarget = false)
  100. {
  101. m_backBtn = null;
  102. m_bg = null;
  103. m_gameBg1 = null;
  104. m_gameTitle1 = null;
  105. m_game1 = null;
  106. m_newGame1 = null;
  107. m_needIcon1 = null;
  108. m_needNum1 = null;
  109. m_gameLock1 = null;
  110. m_gameBg2 = null;
  111. m_gameTitle2 = null;
  112. m_game2 = null;
  113. m_newGame2 = null;
  114. m_gameLock2 = null;
  115. m_needIcon2 = null;
  116. m_needNum2 = null;
  117. m_gameBg3 = null;
  118. m_gameTitle3 = null;
  119. m_game3 = null;
  120. m_newGame3 = null;
  121. m_gameLock3 = null;
  122. m_needIcon3 = null;
  123. m_needNum3 = null;
  124. m_tipsOne = null;
  125. if(disposeTarget && target != null)
  126. {
  127. target.RemoveFromParent();
  128. target.Dispose();
  129. }
  130. target = null;
  131. }
  132. }
  133. }