UI_CardSyntheticUI.cs 4.7 KB

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