UI_ComItem.cs 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  1. /** This is an automatically generated class by FairyGUI. Please do not modify it. **/
  2. using FairyGUI;
  3. namespace UI.CommonGame
  4. {
  5. public partial class UI_ComItem
  6. {
  7. public GComponent target;
  8. public Controller m_QualityType;
  9. public Controller m_CountType;
  10. public Controller m_TouchType;
  11. public Controller m_NewType;
  12. public Controller m_ShowName;
  13. public Controller m_ButtonType;
  14. public Controller m_Lock;
  15. public GImage m_imgSelect;
  16. public GLoader m_loaBg;
  17. public GLoader m_loaIcon;
  18. public GImage m_imgOnceBonus;
  19. public GLoader m_loaRarity;
  20. public GGraph m_holderReware;
  21. public GImage m_imgNum;
  22. public GTextField m_txtCount;
  23. public GButton m_btnMinus;
  24. public GTextField m_txtDecomHasCount;
  25. public GTextField m_txtDecomCount;
  26. public GTextField m_txtName;
  27. public GImage m_imgHas;
  28. public GImage m_imgNotHas;
  29. public GImage m_imgShowTong;
  30. public GGroup m_grpGot;
  31. public GImage m_lock;
  32. public GImage m_mask;
  33. public GTextField m_txtAddition;
  34. public const string URL = "ui://eg2y0ldpwet2tae";
  35. public const string PACKAGE_NAME = "CommonGame";
  36. public const string RES_NAME = "ComItem";
  37. private static UI_ComItem _proxy;
  38. public static UI_ComItem Create(GObject gObject = null)
  39. {
  40. var ui = new UI_ComItem();
  41. if(gObject == null)
  42. ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
  43. else
  44. ui.target = (GComponent)gObject;
  45. ui.Init(ui.target);
  46. return ui;
  47. }
  48. public static UI_ComItem Proxy(GObject gObject = null)
  49. {
  50. if(_proxy == null)
  51. {
  52. _proxy = new UI_ComItem();
  53. }
  54. var ui = _proxy;
  55. if(gObject == null)
  56. ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
  57. else
  58. ui.target = (GComponent)gObject;
  59. ui.Init(ui.target);
  60. return ui;
  61. }
  62. public static void ProxyEnd()
  63. {
  64. if (_proxy != null)
  65. {
  66. _proxy.Dispose();
  67. }
  68. }
  69. public static void ClearProxy()
  70. {
  71. ProxyEnd();
  72. _proxy = null;
  73. }
  74. private void Init(GComponent comp)
  75. {
  76. m_QualityType = comp.GetController("QualityType");
  77. m_CountType = comp.GetController("CountType");
  78. m_TouchType = comp.GetController("TouchType");
  79. m_NewType = comp.GetController("NewType");
  80. m_ShowName = comp.GetController("ShowName");
  81. m_ButtonType = comp.GetController("ButtonType");
  82. m_Lock = comp.GetController("Lock");
  83. m_imgSelect = (GImage)comp.GetChild("imgSelect");
  84. m_loaBg = (GLoader)comp.GetChild("loaBg");
  85. m_loaIcon = (GLoader)comp.GetChild("loaIcon");
  86. m_imgOnceBonus = (GImage)comp.GetChild("imgOnceBonus");
  87. m_loaRarity = (GLoader)comp.GetChild("loaRarity");
  88. m_holderReware = (GGraph)comp.GetChild("holderReware");
  89. m_imgNum = (GImage)comp.GetChild("imgNum");
  90. m_txtCount = (GTextField)comp.GetChild("txtCount");
  91. m_btnMinus = (GButton)comp.GetChild("btnMinus");
  92. m_txtDecomHasCount = (GTextField)comp.GetChild("txtDecomHasCount");
  93. m_txtDecomCount = (GTextField)comp.GetChild("txtDecomCount");
  94. m_txtName = (GTextField)comp.GetChild("txtName");
  95. m_imgHas = (GImage)comp.GetChild("imgHas");
  96. m_imgNotHas = (GImage)comp.GetChild("imgNotHas");
  97. m_imgShowTong = (GImage)comp.GetChild("imgShowTong");
  98. m_grpGot = (GGroup)comp.GetChild("grpGot");
  99. m_lock = (GImage)comp.GetChild("lock");
  100. m_mask = (GImage)comp.GetChild("mask");
  101. m_txtAddition = (GTextField)comp.GetChild("txtAddition");
  102. }
  103. public void Dispose(bool disposeTarget = false)
  104. {
  105. m_QualityType = null;
  106. m_CountType = null;
  107. m_TouchType = null;
  108. m_NewType = null;
  109. m_ShowName = null;
  110. m_ButtonType = null;
  111. m_Lock = null;
  112. m_imgSelect = null;
  113. m_loaBg = null;
  114. m_loaIcon = null;
  115. m_imgOnceBonus = null;
  116. m_loaRarity = null;
  117. m_holderReware = null;
  118. m_imgNum = null;
  119. m_txtCount = null;
  120. m_btnMinus = null;
  121. m_txtDecomHasCount = null;
  122. m_txtDecomCount = null;
  123. m_txtName = null;
  124. m_imgHas = null;
  125. m_imgNotHas = null;
  126. m_imgShowTong = null;
  127. m_grpGot = null;
  128. m_lock = null;
  129. m_mask = null;
  130. m_txtAddition = null;
  131. if(disposeTarget && target != null)
  132. {
  133. target.RemoveFromParent();
  134. target.Dispose();
  135. }
  136. target = null;
  137. }
  138. }
  139. }