UI_FlipGameUI.cs 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  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_FlipGameUI
  6. {
  7. public GComponent target;
  8. public GLoader m_loaBg;
  9. public GImage m_title;
  10. public GList m_cardList;
  11. public GLoader m_back;
  12. public GProgressBar m_ScareBar;
  13. public GTextField m_timeText;
  14. public GImage m_star11;
  15. public GGroup m_star1;
  16. public GImage m_star21;
  17. public GImage m_star22;
  18. public GGroup m_star2;
  19. public GImage m_star31;
  20. public GImage m_star32;
  21. public GImage m_star33;
  22. public GGroup m_star3;
  23. public GGraph m_barEffect;
  24. public GGraph m_titleEffec;
  25. public const string URL = "ui://wgkh30qjjmg10";
  26. public const string PACKAGE_NAME = "MiniGame";
  27. public const string RES_NAME = "FlipGameUI";
  28. private static UI_FlipGameUI _proxy;
  29. public static UI_FlipGameUI Create(GObject gObject = null)
  30. {
  31. var ui = new UI_FlipGameUI();
  32. if(gObject == null)
  33. ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
  34. else
  35. ui.target = (GComponent)gObject;
  36. ui.Init(ui.target);
  37. return ui;
  38. }
  39. public static UI_FlipGameUI Proxy(GObject gObject = null)
  40. {
  41. if(_proxy == null)
  42. {
  43. _proxy = new UI_FlipGameUI();
  44. }
  45. var ui = _proxy;
  46. if(gObject == null)
  47. ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
  48. else
  49. ui.target = (GComponent)gObject;
  50. ui.Init(ui.target);
  51. return ui;
  52. }
  53. public static void ProxyEnd()
  54. {
  55. if (_proxy != null)
  56. {
  57. _proxy.Dispose();
  58. }
  59. }
  60. public static void ClearProxy()
  61. {
  62. ProxyEnd();
  63. _proxy = null;
  64. }
  65. private void Init(GComponent comp)
  66. {
  67. m_loaBg = (GLoader)comp.GetChild("loaBg");
  68. m_title = (GImage)comp.GetChild("title");
  69. m_cardList = (GList)comp.GetChild("cardList");
  70. m_back = (GLoader)comp.GetChild("back");
  71. m_ScareBar = (GProgressBar)comp.GetChild("ScareBar");
  72. m_timeText = (GTextField)comp.GetChild("timeText");
  73. m_star11 = (GImage)comp.GetChild("star11");
  74. m_star1 = (GGroup)comp.GetChild("star1");
  75. m_star21 = (GImage)comp.GetChild("star21");
  76. m_star22 = (GImage)comp.GetChild("star22");
  77. m_star2 = (GGroup)comp.GetChild("star2");
  78. m_star31 = (GImage)comp.GetChild("star31");
  79. m_star32 = (GImage)comp.GetChild("star32");
  80. m_star33 = (GImage)comp.GetChild("star33");
  81. m_star3 = (GGroup)comp.GetChild("star3");
  82. m_barEffect = (GGraph)comp.GetChild("barEffect");
  83. m_titleEffec = (GGraph)comp.GetChild("titleEffec");
  84. }
  85. public void Dispose(bool disposeTarget = false)
  86. {
  87. m_loaBg = null;
  88. m_title = null;
  89. m_cardList = null;
  90. m_back = null;
  91. m_ScareBar = null;
  92. m_timeText = null;
  93. m_star11 = null;
  94. m_star1 = null;
  95. m_star21 = null;
  96. m_star22 = null;
  97. m_star2 = null;
  98. m_star31 = null;
  99. m_star32 = null;
  100. m_star33 = null;
  101. m_star3 = null;
  102. m_barEffect = null;
  103. m_titleEffec = null;
  104. if(disposeTarget && target != null)
  105. {
  106. target.RemoveFromParent();
  107. target.Dispose();
  108. }
  109. target = null;
  110. }
  111. }
  112. }