UI_ClothingSyntheticUI.cs 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  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 GButton m_btnBack;
  10. public GButton m_btnHome;
  11. public GComponent m_valueBar;
  12. public UI_Component1WithMask m_compHolder;
  13. public GGraph m_posHelper;
  14. public UI_CompItemInfo m_compItemInfo;
  15. public GTextField m_txtSuitName;
  16. public GTextField m_txtProgress;
  17. public GList m_listMaterias;
  18. public GList m_listClothing;
  19. public GButton m_btnProduction;
  20. public GComponent m_comCostCurrency;
  21. public Transition m_hide;
  22. public Transition m_show;
  23. public const string URL = "ui://4f294tdkj5391";
  24. public const string PACKAGE_NAME = "ClothingSynthetic";
  25. public const string RES_NAME = "ClothingSyntheticUI";
  26. private static UI_ClothingSyntheticUI _proxy;
  27. public static UI_ClothingSyntheticUI Create(GObject gObject = null)
  28. {
  29. var ui = new UI_ClothingSyntheticUI();
  30. if(gObject == null)
  31. ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
  32. else
  33. ui.target = (GComponent)gObject;
  34. ui.Init(ui.target);
  35. return ui;
  36. }
  37. public static UI_ClothingSyntheticUI Proxy(GObject gObject = null)
  38. {
  39. if(_proxy == null)
  40. {
  41. _proxy = new UI_ClothingSyntheticUI();
  42. }
  43. var ui = _proxy;
  44. if(gObject == null)
  45. ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
  46. else
  47. ui.target = (GComponent)gObject;
  48. ui.Init(ui.target);
  49. return ui;
  50. }
  51. public static void ProxyEnd()
  52. {
  53. if (_proxy != null)
  54. {
  55. _proxy.Dispose();
  56. }
  57. }
  58. public static void ClearProxy()
  59. {
  60. ProxyEnd();
  61. _proxy = null;
  62. }
  63. private void Init(GComponent comp)
  64. {
  65. m_loaBg = (GLoader)comp.GetChild("loaBg");
  66. m_btnBack = (GButton)comp.GetChild("btnBack");
  67. m_btnHome = (GButton)comp.GetChild("btnHome");
  68. m_valueBar = (GComponent)comp.GetChild("valueBar");
  69. m_compHolder = (UI_Component1WithMask)UI_Component1WithMask.Create(comp.GetChild("compHolder"));
  70. m_posHelper = (GGraph)comp.GetChild("posHelper");
  71. m_compItemInfo = (UI_CompItemInfo)UI_CompItemInfo.Create(comp.GetChild("compItemInfo"));
  72. m_txtSuitName = (GTextField)comp.GetChild("txtSuitName");
  73. m_txtProgress = (GTextField)comp.GetChild("txtProgress");
  74. m_listMaterias = (GList)comp.GetChild("listMaterias");
  75. m_listClothing = (GList)comp.GetChild("listClothing");
  76. m_btnProduction = (GButton)comp.GetChild("btnProduction");
  77. m_comCostCurrency = (GComponent)comp.GetChild("comCostCurrency");
  78. m_hide = comp.GetTransition("hide");
  79. m_show = comp.GetTransition("show");
  80. }
  81. public void Dispose(bool disposeTarget = false)
  82. {
  83. m_loaBg = null;
  84. m_btnBack = null;
  85. m_btnHome = null;
  86. m_valueBar = null;
  87. m_compHolder.Dispose();
  88. m_compHolder = null;
  89. m_posHelper = null;
  90. m_compItemInfo.Dispose();
  91. m_compItemInfo = null;
  92. m_txtSuitName = null;
  93. m_txtProgress = null;
  94. m_listMaterias = null;
  95. m_listClothing = null;
  96. m_btnProduction = null;
  97. m_comCostCurrency = null;
  98. m_hide = null;
  99. m_show = null;
  100. if(disposeTarget && target != null)
  101. {
  102. target.RemoveFromParent();
  103. target.Dispose();
  104. }
  105. target = null;
  106. }
  107. }
  108. }