UI_CardSyntheticUI.cs 5.0 KB

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