UI_LeagueTeaPartyRewardUI.cs 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. /** This is an automatically generated class by FairyGUI. Please do not modify it. **/
  2. using FairyGUI;
  3. namespace UI.League
  4. {
  5. public partial class UI_LeagueTeaPartyRewardUI
  6. {
  7. public GComponent target;
  8. public GImage m_bg;
  9. public GGraph m_holderLeftTop;
  10. public GGraph m_holderRightDowm;
  11. public GProgressBar m_barPerson;
  12. public GProgressBar m_barGroups;
  13. public GLoader m_EndIndex;
  14. public GLoader m_StartIndex;
  15. public GLoader m_EndLeagueIndex;
  16. public GLoader m_StartLeagueIndex;
  17. public GTextField m_txtRoleScore;
  18. public GTextField m_txtLevel;
  19. public GTextField m_txtLeagueScore;
  20. public GTextField m_txtLevel_2;
  21. public const string URL = "ui://tw70qm9dic4otpz";
  22. public const string PACKAGE_NAME = "League";
  23. public const string RES_NAME = "LeagueTeaPartyRewardUI";
  24. private static UI_LeagueTeaPartyRewardUI _proxy;
  25. public static UI_LeagueTeaPartyRewardUI Create(GObject gObject = null)
  26. {
  27. var ui = new UI_LeagueTeaPartyRewardUI();
  28. if(gObject == null)
  29. ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
  30. else
  31. ui.target = (GComponent)gObject;
  32. ui.Init(ui.target);
  33. return ui;
  34. }
  35. public static UI_LeagueTeaPartyRewardUI Proxy(GObject gObject = null)
  36. {
  37. if(_proxy == null)
  38. {
  39. _proxy = new UI_LeagueTeaPartyRewardUI();
  40. }
  41. var ui = _proxy;
  42. if(gObject == null)
  43. ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
  44. else
  45. ui.target = (GComponent)gObject;
  46. ui.Init(ui.target);
  47. return ui;
  48. }
  49. public static void ProxyEnd()
  50. {
  51. if (_proxy != null)
  52. {
  53. _proxy.Dispose();
  54. }
  55. }
  56. public static void ClearProxy()
  57. {
  58. ProxyEnd();
  59. _proxy = null;
  60. }
  61. private void Init(GComponent comp)
  62. {
  63. m_bg = (GImage)comp.GetChild("bg");
  64. m_holderLeftTop = (GGraph)comp.GetChild("holderLeftTop");
  65. m_holderRightDowm = (GGraph)comp.GetChild("holderRightDowm");
  66. m_barPerson = (GProgressBar)comp.GetChild("barPerson");
  67. m_barGroups = (GProgressBar)comp.GetChild("barGroups");
  68. m_EndIndex = (GLoader)comp.GetChild("EndIndex");
  69. m_StartIndex = (GLoader)comp.GetChild("StartIndex");
  70. m_EndLeagueIndex = (GLoader)comp.GetChild("EndLeagueIndex");
  71. m_StartLeagueIndex = (GLoader)comp.GetChild("StartLeagueIndex");
  72. m_txtRoleScore = (GTextField)comp.GetChild("txtRoleScore");
  73. m_txtLevel = (GTextField)comp.GetChild("txtLevel");
  74. m_txtLeagueScore = (GTextField)comp.GetChild("txtLeagueScore");
  75. m_txtLevel_2 = (GTextField)comp.GetChild("txtLevel");
  76. }
  77. public void Dispose(bool disposeTarget = false)
  78. {
  79. m_bg = null;
  80. m_holderLeftTop = null;
  81. m_holderRightDowm = null;
  82. m_barPerson = null;
  83. m_barGroups = null;
  84. m_EndIndex = null;
  85. m_StartIndex = null;
  86. m_EndLeagueIndex = null;
  87. m_StartLeagueIndex = null;
  88. m_txtRoleScore = null;
  89. m_txtLevel = null;
  90. m_txtLeagueScore = null;
  91. m_txtLevel_2 = null;
  92. if(disposeTarget && target != null)
  93. {
  94. target.RemoveFromParent();
  95. target.Dispose();
  96. }
  97. target = null;
  98. }
  99. }
  100. }