UI_ClothingSyntheticUI.cs 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. /** This is an automatically generated class by FairyGUI. Please do not modify it. **/
  2. using FairyGUI;
  3. namespace UI.ClothingSynthetic
  4. {
  5. public partial class UI_ClothingSyntheticUI
  6. {
  7. public GComponent target;
  8. public GLoader m_loaBg;
  9. public UI_Component1WithMask m_compHolder;
  10. public GLoader m_loaBg2;
  11. public GGraph m_loaBg2Pos;
  12. public GGraph m_posHelper;
  13. public UI_CompItemInfo m_compItemInfo;
  14. public GTextField m_txtSuitName;
  15. public GList m_listMaterias;
  16. public GList m_listClothing;
  17. public GButton m_btnProduction;
  18. public GComponent m_comCostCurrency;
  19. public GTextField m_txtProgress;
  20. public GButton m_btnBack;
  21. public GButton m_btnHome;
  22. public GComponent m_valueBar;
  23. public GButton m_cardSyntheticBtn;
  24. public Transition m_hide;
  25. public Transition m_show;
  26. public const string URL = "ui://4f294tdkj5391";
  27. public const string PACKAGE_NAME = "ClothingSynthetic";
  28. public const string RES_NAME = "ClothingSyntheticUI";
  29. private static UI_ClothingSyntheticUI _proxy;
  30. public static UI_ClothingSyntheticUI Create(GObject gObject = null)
  31. {
  32. var ui = new UI_ClothingSyntheticUI();
  33. if(gObject == null)
  34. ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
  35. else
  36. ui.target = (GComponent)gObject;
  37. ui.Init(ui.target);
  38. return ui;
  39. }
  40. public static UI_ClothingSyntheticUI Proxy(GObject gObject = null)
  41. {
  42. if(_proxy == null)
  43. {
  44. _proxy = new UI_ClothingSyntheticUI();
  45. }
  46. var ui = _proxy;
  47. if(gObject == null)
  48. ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
  49. else
  50. ui.target = (GComponent)gObject;
  51. ui.Init(ui.target);
  52. return ui;
  53. }
  54. public static void ProxyEnd()
  55. {
  56. if (_proxy != null)
  57. {
  58. _proxy.Dispose();
  59. }
  60. }
  61. public static void ClearProxy()
  62. {
  63. ProxyEnd();
  64. _proxy = null;
  65. }
  66. private void Init(GComponent comp)
  67. {
  68. m_loaBg = (GLoader)comp.GetChild("loaBg");
  69. m_compHolder = (UI_Component1WithMask)UI_Component1WithMask.Create(comp.GetChild("compHolder"));
  70. m_loaBg2 = (GLoader)comp.GetChild("loaBg2");
  71. m_loaBg2Pos = (GGraph)comp.GetChild("loaBg2Pos");
  72. m_posHelper = (GGraph)comp.GetChild("posHelper");
  73. m_compItemInfo = (UI_CompItemInfo)UI_CompItemInfo.Create(comp.GetChild("compItemInfo"));
  74. m_txtSuitName = (GTextField)comp.GetChild("txtSuitName");
  75. m_listMaterias = (GList)comp.GetChild("listMaterias");
  76. m_listClothing = (GList)comp.GetChild("listClothing");
  77. m_btnProduction = (GButton)comp.GetChild("btnProduction");
  78. m_comCostCurrency = (GComponent)comp.GetChild("comCostCurrency");
  79. m_txtProgress = (GTextField)comp.GetChild("txtProgress");
  80. m_btnBack = (GButton)comp.GetChild("btnBack");
  81. m_btnHome = (GButton)comp.GetChild("btnHome");
  82. m_valueBar = (GComponent)comp.GetChild("valueBar");
  83. m_cardSyntheticBtn = (GButton)comp.GetChild("cardSyntheticBtn");
  84. m_hide = comp.GetTransition("hide");
  85. m_show = comp.GetTransition("show");
  86. }
  87. public void Dispose(bool disposeTarget = false)
  88. {
  89. m_loaBg = null;
  90. m_compHolder.Dispose();
  91. m_compHolder = null;
  92. m_loaBg2 = null;
  93. m_loaBg2Pos = null;
  94. m_posHelper = null;
  95. m_compItemInfo.Dispose();
  96. m_compItemInfo = null;
  97. m_txtSuitName = null;
  98. m_listMaterias = null;
  99. m_listClothing = null;
  100. m_btnProduction = null;
  101. m_comCostCurrency = null;
  102. m_txtProgress = null;
  103. m_btnBack = null;
  104. m_btnHome = null;
  105. m_valueBar = null;
  106. m_cardSyntheticBtn = null;
  107. m_hide = null;
  108. m_show = null;
  109. if(disposeTarget && target != null)
  110. {
  111. target.RemoveFromParent();
  112. target.Dispose();
  113. }
  114. target = null;
  115. }
  116. }
  117. }