UI_ComItem.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.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 const string URL = "ui://eg2y0ldpwet2tae";
  33. public const string PACKAGE_NAME = "CommonGame";
  34. public const string RES_NAME = "ComItem";
  35. private static UI_ComItem _proxy;
  36. public static UI_ComItem Create(GObject gObject = null)
  37. {
  38. var ui = new UI_ComItem();
  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_ComItem Proxy(GObject gObject = null)
  47. {
  48. if(_proxy == null)
  49. {
  50. _proxy = new UI_ComItem();
  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_QualityType = comp.GetController("QualityType");
  75. m_CountType = comp.GetController("CountType");
  76. m_TouchType = comp.GetController("TouchType");
  77. m_NewType = comp.GetController("NewType");
  78. m_ShowName = comp.GetController("ShowName");
  79. m_ButtonType = comp.GetController("ButtonType");
  80. m_Lock = comp.GetController("Lock");
  81. m_imgSelect = (GImage)comp.GetChild("imgSelect");
  82. m_loaBg = (GLoader)comp.GetChild("loaBg");
  83. m_loaIcon = (GLoader)comp.GetChild("loaIcon");
  84. m_imgOnceBonus = (GImage)comp.GetChild("imgOnceBonus");
  85. m_loaRarity = (GLoader)comp.GetChild("loaRarity");
  86. m_holderReware = (GGraph)comp.GetChild("holderReware");
  87. m_imgNum = (GImage)comp.GetChild("imgNum");
  88. m_txtCount = (GTextField)comp.GetChild("txtCount");
  89. m_btnMinus = (GButton)comp.GetChild("btnMinus");
  90. m_txtDecomHasCount = (GTextField)comp.GetChild("txtDecomHasCount");
  91. m_txtDecomCount = (GTextField)comp.GetChild("txtDecomCount");
  92. m_txtName = (GTextField)comp.GetChild("txtName");
  93. m_imgHas = (GImage)comp.GetChild("imgHas");
  94. m_imgNotHas = (GImage)comp.GetChild("imgNotHas");
  95. m_imgShowTong = (GImage)comp.GetChild("imgShowTong");
  96. m_grpGot = (GGroup)comp.GetChild("grpGot");
  97. m_lock = (GImage)comp.GetChild("lock");
  98. }
  99. public void Dispose(bool disposeTarget = false)
  100. {
  101. m_QualityType = null;
  102. m_CountType = null;
  103. m_TouchType = null;
  104. m_NewType = null;
  105. m_ShowName = null;
  106. m_ButtonType = null;
  107. m_Lock = null;
  108. m_imgSelect = null;
  109. m_loaBg = null;
  110. m_loaIcon = null;
  111. m_imgOnceBonus = null;
  112. m_loaRarity = null;
  113. m_holderReware = null;
  114. m_imgNum = null;
  115. m_txtCount = null;
  116. m_btnMinus = null;
  117. m_txtDecomHasCount = null;
  118. m_txtDecomCount = null;
  119. m_txtName = null;
  120. m_imgHas = null;
  121. m_imgNotHas = null;
  122. m_imgShowTong = null;
  123. m_grpGot = null;
  124. m_lock = null;
  125. if(disposeTarget && target != null)
  126. {
  127. target.RemoveFromParent();
  128. target.Dispose();
  129. }
  130. target = null;
  131. }
  132. }
  133. }