UI_ResultTipsUI.cs 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  1. /** This is an automatically generated class by FairyGUI. Please do not modify it. **/
  2. using FairyGUI;
  3. namespace UI.MiniGame
  4. {
  5. public partial class UI_ResultTipsUI
  6. {
  7. public GComponent target;
  8. public GGraph m_effectBg;
  9. public GGraph m_effectSucces;
  10. public GGraph m_effectFail;
  11. public GImage m_bg;
  12. public GLoader m_resultTitle;
  13. public GTextField m_failTxt;
  14. public GLoader m_star1;
  15. public GLoader m_star2;
  16. public GLoader m_star3;
  17. public GGroup m_success;
  18. public GTextField m_resultTxt;
  19. public GList m_rewardList;
  20. public GLoader m_againBtn;
  21. public GLoader m_exitBtn;
  22. public GLoader m_consumeIcon;
  23. public GTextField m_consumeTxt;
  24. public GGroup m_desc;
  25. public Transition m_t0;
  26. public const string URL = "ui://wgkh30qjlw8c1w";
  27. public const string PACKAGE_NAME = "MiniGame";
  28. public const string RES_NAME = "ResultTipsUI";
  29. private static UI_ResultTipsUI _proxy;
  30. public static UI_ResultTipsUI Create(GObject gObject = null)
  31. {
  32. var ui = new UI_ResultTipsUI();
  33. if(gObject == null)
  34. ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
  35. else
  36. ui.target = (GComponent)gObject;
  37. ui.Init(ui.target);
  38. return ui;
  39. }
  40. public static UI_ResultTipsUI Proxy(GObject gObject = null)
  41. {
  42. if(_proxy == null)
  43. {
  44. _proxy = new UI_ResultTipsUI();
  45. }
  46. var ui = _proxy;
  47. if(gObject == null)
  48. ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
  49. else
  50. ui.target = (GComponent)gObject;
  51. ui.Init(ui.target);
  52. return ui;
  53. }
  54. public static void ProxyEnd()
  55. {
  56. if (_proxy != null)
  57. {
  58. _proxy.Dispose();
  59. }
  60. }
  61. public static void ClearProxy()
  62. {
  63. ProxyEnd();
  64. _proxy = null;
  65. }
  66. private void Init(GComponent comp)
  67. {
  68. m_effectBg = (GGraph)comp.GetChild("effectBg");
  69. m_effectSucces = (GGraph)comp.GetChild("effectSucces");
  70. m_effectFail = (GGraph)comp.GetChild("effectFail");
  71. m_bg = (GImage)comp.GetChild("bg");
  72. m_resultTitle = (GLoader)comp.GetChild("resultTitle");
  73. m_failTxt = (GTextField)comp.GetChild("failTxt");
  74. m_star1 = (GLoader)comp.GetChild("star1");
  75. m_star2 = (GLoader)comp.GetChild("star2");
  76. m_star3 = (GLoader)comp.GetChild("star3");
  77. m_success = (GGroup)comp.GetChild("success");
  78. m_resultTxt = (GTextField)comp.GetChild("resultTxt");
  79. m_rewardList = (GList)comp.GetChild("rewardList");
  80. m_againBtn = (GLoader)comp.GetChild("againBtn");
  81. m_exitBtn = (GLoader)comp.GetChild("exitBtn");
  82. m_consumeIcon = (GLoader)comp.GetChild("consumeIcon");
  83. m_consumeTxt = (GTextField)comp.GetChild("consumeTxt");
  84. m_desc = (GGroup)comp.GetChild("desc");
  85. m_t0 = comp.GetTransition("t0");
  86. }
  87. public void Dispose(bool disposeTarget = false)
  88. {
  89. m_effectBg = null;
  90. m_effectSucces = null;
  91. m_effectFail = null;
  92. m_bg = null;
  93. m_resultTitle = null;
  94. m_failTxt = null;
  95. m_star1 = null;
  96. m_star2 = null;
  97. m_star3 = null;
  98. m_success = null;
  99. m_resultTxt = null;
  100. m_rewardList = null;
  101. m_againBtn = null;
  102. m_exitBtn = null;
  103. m_consumeIcon = null;
  104. m_consumeTxt = null;
  105. m_desc = null;
  106. m_t0 = null;
  107. if(disposeTarget && target != null)
  108. {
  109. target.RemoveFromParent();
  110. target.Dispose();
  111. }
  112. target = null;
  113. }
  114. }
  115. }