UI_GetSuitItemUI.cs 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. /** This is an automatically generated class by FairyGUI. Please do not modify it. **/
  2. using FairyGUI;
  3. namespace UI.CommonGame
  4. {
  5. public partial class UI_GetSuitItemUI
  6. {
  7. public GComponent target;
  8. public GLoader m_bg;
  9. public GMovieClip m_mov00;
  10. public GMovieClip m_mov01;
  11. public GMovieClip m_mov02;
  12. public GMovieClip m_mov03;
  13. public GGroup m_grpMov0;
  14. public GGraph m_holder;
  15. public GMovieClip m_mov10;
  16. public GMovieClip m_mov11;
  17. public GMovieClip m_mov12;
  18. public GMovieClip m_mov13;
  19. public GGroup m_grpMov1;
  20. public GTextField m_txtName;
  21. public GProgressBar m_probar;
  22. public UI_LuckyBoxBonusItem m_item;
  23. public const string URL = "ui://eg2y0ldptu965e";
  24. public const string PACKAGE_NAME = "CommonGame";
  25. public const string RES_NAME = "GetSuitItemUI";
  26. private static UI_GetSuitItemUI _proxy;
  27. public static UI_GetSuitItemUI Create(GObject gObject = null)
  28. {
  29. var ui = new UI_GetSuitItemUI();
  30. if(gObject == null)
  31. ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
  32. else
  33. ui.target = (GComponent)gObject;
  34. ui.Init(ui.target);
  35. return ui;
  36. }
  37. public static UI_GetSuitItemUI Proxy(GObject gObject = null)
  38. {
  39. if(_proxy == null)
  40. {
  41. _proxy = new UI_GetSuitItemUI();
  42. }
  43. var ui = _proxy;
  44. if(gObject == null)
  45. ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
  46. else
  47. ui.target = (GComponent)gObject;
  48. ui.Init(ui.target);
  49. return ui;
  50. }
  51. public static void ProxyEnd()
  52. {
  53. if (_proxy != null)
  54. {
  55. _proxy.Dispose();
  56. }
  57. }
  58. public static void ClearProxy()
  59. {
  60. ProxyEnd();
  61. _proxy = null;
  62. }
  63. private void Init(GComponent comp)
  64. {
  65. m_bg = (GLoader)comp.GetChild("bg");
  66. m_mov00 = (GMovieClip)comp.GetChild("mov00");
  67. m_mov01 = (GMovieClip)comp.GetChild("mov01");
  68. m_mov02 = (GMovieClip)comp.GetChild("mov02");
  69. m_mov03 = (GMovieClip)comp.GetChild("mov03");
  70. m_grpMov0 = (GGroup)comp.GetChild("grpMov0");
  71. m_holder = (GGraph)comp.GetChild("holder");
  72. m_mov10 = (GMovieClip)comp.GetChild("mov10");
  73. m_mov11 = (GMovieClip)comp.GetChild("mov11");
  74. m_mov12 = (GMovieClip)comp.GetChild("mov12");
  75. m_mov13 = (GMovieClip)comp.GetChild("mov13");
  76. m_grpMov1 = (GGroup)comp.GetChild("grpMov1");
  77. m_txtName = (GTextField)comp.GetChild("txtName");
  78. m_probar = (GProgressBar)comp.GetChild("probar");
  79. m_item = (UI_LuckyBoxBonusItem)UI_LuckyBoxBonusItem.Create(comp.GetChild("item"));
  80. }
  81. public void Dispose(bool disposeTarget = false)
  82. {
  83. m_bg = null;
  84. m_mov00 = null;
  85. m_mov01 = null;
  86. m_mov02 = null;
  87. m_mov03 = null;
  88. m_grpMov0 = null;
  89. m_holder = null;
  90. m_mov10 = null;
  91. m_mov11 = null;
  92. m_mov12 = null;
  93. m_mov13 = null;
  94. m_grpMov1 = null;
  95. m_txtName = null;
  96. m_probar = null;
  97. m_item.Dispose();
  98. m_item = null;
  99. if(disposeTarget && target != null)
  100. {
  101. target.RemoveFromParent();
  102. target.Dispose();
  103. }
  104. target = null;
  105. }
  106. }
  107. }