UI_CardSyntheticUI.cs 5.1 KB

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