UI_MatchingCompetitionUpLoadUI.cs 4.0 KB

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