UI_MatchingCompetitionUpLoadUI.cs 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  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_MatchingCompetitionUpLoadUI
  6. {
  7. public GComponent target;
  8. public Controller m_c1;
  9. public GLoader m_bg;
  10. public GImage m_playerImage;
  11. public GButton m_BtnBack;
  12. public GButton m_btnLook;
  13. public GLoader m_ruleBtn;
  14. public GTextField m_titleText;
  15. public GTextField m_timeText;
  16. public GButton m_btnRank;
  17. public GButton m_btnUploadWorks;
  18. public GButton m_btnShop;
  19. public GButton m_btnMyWorks;
  20. public UI_Component1 m_playerHead;
  21. public GButton m_btnExchage;
  22. public GLoader m_countTime;
  23. public const string URL = "ui://ri3cveycp3ft1c";
  24. public const string PACKAGE_NAME = "MatchingCompetition";
  25. public const string RES_NAME = "MatchingCompetitionUpLoadUI";
  26. private static UI_MatchingCompetitionUpLoadUI _proxy;
  27. public static UI_MatchingCompetitionUpLoadUI Create(GObject gObject = null)
  28. {
  29. var ui = new UI_MatchingCompetitionUpLoadUI();
  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_MatchingCompetitionUpLoadUI Proxy(GObject gObject = null)
  38. {
  39. if(_proxy == null)
  40. {
  41. _proxy = new UI_MatchingCompetitionUpLoadUI();
  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_c1 = comp.GetController("c1");
  66. m_bg = (GLoader)comp.GetChild("bg");
  67. m_playerImage = (GImage)comp.GetChild("playerImage");
  68. m_BtnBack = (GButton)comp.GetChild("BtnBack");
  69. m_btnLook = (GButton)comp.GetChild("btnLook");
  70. m_ruleBtn = (GLoader)comp.GetChild("ruleBtn");
  71. m_titleText = (GTextField)comp.GetChild("titleText");
  72. m_timeText = (GTextField)comp.GetChild("timeText");
  73. m_btnRank = (GButton)comp.GetChild("btnRank");
  74. m_btnUploadWorks = (GButton)comp.GetChild("btnUploadWorks");
  75. m_btnShop = (GButton)comp.GetChild("btnShop");
  76. m_btnMyWorks = (GButton)comp.GetChild("btnMyWorks");
  77. m_playerHead = (UI_Component1)UI_Component1.Create(comp.GetChild("playerHead"));
  78. m_btnExchage = (GButton)comp.GetChild("btnExchage");
  79. m_countTime = (GLoader)comp.GetChild("countTime");
  80. }
  81. public void Dispose(bool disposeTarget = false)
  82. {
  83. m_c1 = null;
  84. m_bg = null;
  85. m_playerImage = null;
  86. m_BtnBack = null;
  87. m_btnLook = null;
  88. m_ruleBtn = null;
  89. m_titleText = null;
  90. m_timeText = null;
  91. m_btnRank = null;
  92. m_btnUploadWorks = null;
  93. m_btnShop = null;
  94. m_btnMyWorks = null;
  95. m_playerHead.Dispose();
  96. m_playerHead = null;
  97. m_btnExchage = null;
  98. m_countTime = null;
  99. if(disposeTarget && target != null)
  100. {
  101. target.RemoveFromParent();
  102. target.Dispose();
  103. }
  104. target = null;
  105. }
  106. }
  107. }