UI_GiftBagBuyUI.cs 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  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 GImage 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_txtRefreshTime;
  15. public GGroup m_grpRefreshTime;
  16. public GLoader m_loaPriceIcon;
  17. public GTextField m_txtIcon;
  18. public GGroup m_grpIcon;
  19. public GTextField m_txtOriginalPrice;
  20. public GGroup m_grpOriginalPrice;
  21. public GTextField m_txtPrice;
  22. public GGroup m_grpPrice;
  23. public GButton m_btnBuy;
  24. public GTextField m_txtLock;
  25. public const string URL = "ui://vlgobc1510not1v";
  26. public const string PACKAGE_NAME = "RechargeStore";
  27. public const string RES_NAME = "GiftBagBuyUI";
  28. private static UI_GiftBagBuyUI _proxy;
  29. public static UI_GiftBagBuyUI Create(GObject gObject = null)
  30. {
  31. var ui = new UI_GiftBagBuyUI();
  32. if(gObject == null)
  33. ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
  34. else
  35. ui.target = (GComponent)gObject;
  36. ui.Init(ui.target);
  37. return ui;
  38. }
  39. public static UI_GiftBagBuyUI Proxy(GObject gObject = null)
  40. {
  41. if(_proxy == null)
  42. {
  43. _proxy = new UI_GiftBagBuyUI();
  44. }
  45. var ui = _proxy;
  46. if(gObject == null)
  47. ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
  48. else
  49. ui.target = (GComponent)gObject;
  50. ui.Init(ui.target);
  51. return ui;
  52. }
  53. public static void ProxyEnd()
  54. {
  55. if (_proxy != null)
  56. {
  57. _proxy.Dispose();
  58. }
  59. }
  60. public static void ClearProxy()
  61. {
  62. ProxyEnd();
  63. _proxy = null;
  64. }
  65. private void Init(GComponent comp)
  66. {
  67. m_c1 = comp.GetController("c1");
  68. m_bg = (GImage)comp.GetChild("bg");
  69. m_txtName = (GTextField)comp.GetChild("txtName");
  70. m_loaIcon = (GLoader)comp.GetChild("loaIcon");
  71. m_txtLimit = (GTextField)comp.GetChild("txtLimit");
  72. m_list = (GList)comp.GetChild("list");
  73. m_txtRefreshTime = (GTextField)comp.GetChild("txtRefreshTime");
  74. m_grpRefreshTime = (GGroup)comp.GetChild("grpRefreshTime");
  75. m_loaPriceIcon = (GLoader)comp.GetChild("loaPriceIcon");
  76. m_txtIcon = (GTextField)comp.GetChild("txtIcon");
  77. m_grpIcon = (GGroup)comp.GetChild("grpIcon");
  78. m_txtOriginalPrice = (GTextField)comp.GetChild("txtOriginalPrice");
  79. m_grpOriginalPrice = (GGroup)comp.GetChild("grpOriginalPrice");
  80. m_txtPrice = (GTextField)comp.GetChild("txtPrice");
  81. m_grpPrice = (GGroup)comp.GetChild("grpPrice");
  82. m_btnBuy = (GButton)comp.GetChild("btnBuy");
  83. m_txtLock = (GTextField)comp.GetChild("txtLock");
  84. }
  85. public void Dispose(bool disposeTarget = false)
  86. {
  87. m_c1 = null;
  88. m_bg = null;
  89. m_txtName = null;
  90. m_loaIcon = null;
  91. m_txtLimit = null;
  92. m_list = null;
  93. m_txtRefreshTime = null;
  94. m_grpRefreshTime = null;
  95. m_loaPriceIcon = null;
  96. m_txtIcon = null;
  97. m_grpIcon = null;
  98. m_txtOriginalPrice = null;
  99. m_grpOriginalPrice = null;
  100. m_txtPrice = null;
  101. m_grpPrice = null;
  102. m_btnBuy = null;
  103. m_txtLock = null;
  104. if(disposeTarget && target != null)
  105. {
  106. target.RemoveFromParent();
  107. target.Dispose();
  108. }
  109. target = null;
  110. }
  111. }
  112. }