UI_GiftBagBuyUI.cs 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. /** This is an automatically generated class by FairyGUI. Please do not modify it. **/
  2. using FairyGUI;
  3. namespace UI.RechargeStore
  4. {
  5. public partial class UI_GiftBagBuyUI
  6. {
  7. public GComponent target;
  8. public Controller m_c1;
  9. public GComponent m_bg;
  10. public GTextField m_txtName;
  11. public GLoader m_loaIcon;
  12. public GTextField m_txtLimit;
  13. public GList m_list;
  14. public GTextField m_txtEndTime;
  15. public GGroup m_grpEndTime;
  16. public GButton m_btnBuy;
  17. public GTextField m_txtLock;
  18. public GLoader m_loaPriceIcon;
  19. public GTextField m_txtIcon;
  20. public GGroup m_grpIcon;
  21. public GTextField m_txtOriginalPrice;
  22. public GTextField m_txtPrice;
  23. public GGroup m_grpOriginalPrice;
  24. public const string URL = "ui://vlgobc1510not1v";
  25. public const string PACKAGE_NAME = "RechargeStore";
  26. public const string RES_NAME = "GiftBagBuyUI";
  27. private static UI_GiftBagBuyUI _proxy;
  28. public static UI_GiftBagBuyUI Create(GObject gObject = null)
  29. {
  30. var ui = new UI_GiftBagBuyUI();
  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_GiftBagBuyUI Proxy(GObject gObject = null)
  39. {
  40. if(_proxy == null)
  41. {
  42. _proxy = new UI_GiftBagBuyUI();
  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 = (GComponent)comp.GetChild("bg");
  68. m_txtName = (GTextField)comp.GetChild("txtName");
  69. m_loaIcon = (GLoader)comp.GetChild("loaIcon");
  70. m_txtLimit = (GTextField)comp.GetChild("txtLimit");
  71. m_list = (GList)comp.GetChild("list");
  72. m_txtEndTime = (GTextField)comp.GetChild("txtEndTime");
  73. m_grpEndTime = (GGroup)comp.GetChild("grpEndTime");
  74. m_btnBuy = (GButton)comp.GetChild("btnBuy");
  75. m_txtLock = (GTextField)comp.GetChild("txtLock");
  76. m_loaPriceIcon = (GLoader)comp.GetChild("loaPriceIcon");
  77. m_txtIcon = (GTextField)comp.GetChild("txtIcon");
  78. m_grpIcon = (GGroup)comp.GetChild("grpIcon");
  79. m_txtOriginalPrice = (GTextField)comp.GetChild("txtOriginalPrice");
  80. m_txtPrice = (GTextField)comp.GetChild("txtPrice");
  81. m_grpOriginalPrice = (GGroup)comp.GetChild("grpOriginalPrice");
  82. }
  83. public void Dispose(bool disposeTarget = false)
  84. {
  85. m_c1 = null;
  86. m_bg = null;
  87. m_txtName = null;
  88. m_loaIcon = null;
  89. m_txtLimit = null;
  90. m_list = null;
  91. m_txtEndTime = null;
  92. m_grpEndTime = null;
  93. m_btnBuy = null;
  94. m_txtLock = null;
  95. m_loaPriceIcon = null;
  96. m_txtIcon = null;
  97. m_grpIcon = null;
  98. m_txtOriginalPrice = null;
  99. m_txtPrice = null;
  100. m_grpOriginalPrice = null;
  101. if(disposeTarget && target != null)
  102. {
  103. target.RemoveFromParent();
  104. target.Dispose();
  105. }
  106. target = null;
  107. }
  108. }
  109. }