UI_CardSyntheticUI.cs 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. /** This is an automatically generated class by FairyGUI. Please do not modify it. **/
  2. using FairyGUI;
  3. namespace UI.CardSynthetic
  4. {
  5. public partial class UI_CardSyntheticUI
  6. {
  7. public GComponent target;
  8. public GLoader m_loaBg;
  9. public GLoader m_loaBg2;
  10. public UI_ComImgCard m_comImgCard;
  11. public GList m_listMaterias;
  12. public GButton m_btnProduction;
  13. public GComponent m_comCostCurrency;
  14. public GTextField m_txtGong;
  15. public GTextField m_txtShang;
  16. public GTextField m_txtJue;
  17. public GTextField m_txtZhi;
  18. public GLoader m_loaRarity;
  19. public GTextField m_txtName0;
  20. public GTextField m_txtName1;
  21. public GTextField m_txtName2;
  22. public GTextField m_txtName3;
  23. public GTextField m_txtName4;
  24. public GButton m_btnBack;
  25. public GButton m_btnHome;
  26. public GComponent m_valueBar;
  27. public Transition m_hide;
  28. public Transition m_show;
  29. public const string URL = "ui://c6tzok8ouje12n";
  30. public const string PACKAGE_NAME = "CardSynthetic";
  31. public const string RES_NAME = "CardSyntheticUI";
  32. private static UI_CardSyntheticUI _proxy;
  33. public static UI_CardSyntheticUI Create(GObject gObject = null)
  34. {
  35. var ui = new UI_CardSyntheticUI();
  36. if(gObject == null)
  37. ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
  38. else
  39. ui.target = (GComponent)gObject;
  40. ui.Init(ui.target);
  41. return ui;
  42. }
  43. public static UI_CardSyntheticUI Proxy(GObject gObject = null)
  44. {
  45. if(_proxy == null)
  46. {
  47. _proxy = new UI_CardSyntheticUI();
  48. }
  49. var ui = _proxy;
  50. if(gObject == null)
  51. ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
  52. else
  53. ui.target = (GComponent)gObject;
  54. ui.Init(ui.target);
  55. return ui;
  56. }
  57. public static void ProxyEnd()
  58. {
  59. if (_proxy != null)
  60. {
  61. _proxy.Dispose();
  62. }
  63. }
  64. public static void ClearProxy()
  65. {
  66. ProxyEnd();
  67. _proxy = null;
  68. }
  69. private void Init(GComponent comp)
  70. {
  71. m_loaBg = (GLoader)comp.GetChild("loaBg");
  72. m_loaBg2 = (GLoader)comp.GetChild("loaBg2");
  73. m_comImgCard = (UI_ComImgCard)UI_ComImgCard.Create(comp.GetChild("comImgCard"));
  74. m_listMaterias = (GList)comp.GetChild("listMaterias");
  75. m_btnProduction = (GButton)comp.GetChild("btnProduction");
  76. m_comCostCurrency = (GComponent)comp.GetChild("comCostCurrency");
  77. m_txtGong = (GTextField)comp.GetChild("txtGong");
  78. m_txtShang = (GTextField)comp.GetChild("txtShang");
  79. m_txtJue = (GTextField)comp.GetChild("txtJue");
  80. m_txtZhi = (GTextField)comp.GetChild("txtZhi");
  81. m_loaRarity = (GLoader)comp.GetChild("loaRarity");
  82. m_txtName0 = (GTextField)comp.GetChild("txtName0");
  83. m_txtName1 = (GTextField)comp.GetChild("txtName1");
  84. m_txtName2 = (GTextField)comp.GetChild("txtName2");
  85. m_txtName3 = (GTextField)comp.GetChild("txtName3");
  86. m_txtName4 = (GTextField)comp.GetChild("txtName4");
  87. m_btnBack = (GButton)comp.GetChild("btnBack");
  88. m_btnHome = (GButton)comp.GetChild("btnHome");
  89. m_valueBar = (GComponent)comp.GetChild("valueBar");
  90. m_hide = comp.GetTransition("hide");
  91. m_show = comp.GetTransition("show");
  92. }
  93. public void Dispose(bool disposeTarget = false)
  94. {
  95. m_loaBg = null;
  96. m_loaBg2 = null;
  97. m_comImgCard.Dispose();
  98. m_comImgCard = null;
  99. m_listMaterias = null;
  100. m_btnProduction = null;
  101. m_comCostCurrency = null;
  102. m_txtGong = null;
  103. m_txtShang = null;
  104. m_txtJue = null;
  105. m_txtZhi = null;
  106. m_loaRarity = null;
  107. m_txtName0 = null;
  108. m_txtName1 = null;
  109. m_txtName2 = null;
  110. m_txtName3 = null;
  111. m_txtName4 = null;
  112. m_btnBack = null;
  113. m_btnHome = null;
  114. m_valueBar = null;
  115. m_hide = null;
  116. m_show = null;
  117. if(disposeTarget && target != null)
  118. {
  119. target.RemoveFromParent();
  120. target.Dispose();
  121. }
  122. target = null;
  123. }
  124. }
  125. }