UI_InstanceZonesUI.cs 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. /** This is an automatically generated class by FairyGUI. Please do not modify it. **/
  2. using FairyGUI;
  3. namespace UI.InstanceZones
  4. {
  5. public partial class UI_InstanceZonesUI
  6. {
  7. public GComponent target;
  8. public GLoader m_loaBg;
  9. public GGraph m_bg_eff;
  10. public GGraph m_fish_eff;
  11. public UI_ButtonModle7 m_btn1;
  12. public UI_ButtonModle9 m_btnStudio;
  13. public UI_ButtonModle9 m_btnTravel;
  14. public UI_ButtonModle9 m_btnPoem;
  15. public GButton m_btnPoemGudie;
  16. public UI_ButtonModle9 m_btnField;
  17. public UI_ButtonModle9 m_btnArena;
  18. public GGraph m_eff;
  19. public GButton m_btnBack;
  20. public GComponent m_valueBar;
  21. public Transition m_t0;
  22. public const string URL = "ui://ez8qotvcyeocfv0";
  23. public const string PACKAGE_NAME = "InstanceZones";
  24. public const string RES_NAME = "InstanceZonesUI";
  25. private static UI_InstanceZonesUI _proxy;
  26. public static UI_InstanceZonesUI Create(GObject gObject = null)
  27. {
  28. var ui = new UI_InstanceZonesUI();
  29. if(gObject == null)
  30. ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
  31. else
  32. ui.target = (GComponent)gObject;
  33. ui.Init(ui.target);
  34. return ui;
  35. }
  36. public static UI_InstanceZonesUI Proxy(GObject gObject = null)
  37. {
  38. if(_proxy == null)
  39. {
  40. _proxy = new UI_InstanceZonesUI();
  41. }
  42. var ui = _proxy;
  43. if(gObject == null)
  44. ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
  45. else
  46. ui.target = (GComponent)gObject;
  47. ui.Init(ui.target);
  48. return ui;
  49. }
  50. public static void ProxyEnd()
  51. {
  52. if (_proxy != null)
  53. {
  54. _proxy.Dispose();
  55. }
  56. }
  57. public static void ClearProxy()
  58. {
  59. ProxyEnd();
  60. _proxy = null;
  61. }
  62. private void Init(GComponent comp)
  63. {
  64. m_loaBg = (GLoader)comp.GetChild("loaBg");
  65. m_bg_eff = (GGraph)comp.GetChild("bg_eff");
  66. m_fish_eff = (GGraph)comp.GetChild("fish_eff");
  67. m_btn1 = (UI_ButtonModle7)UI_ButtonModle7.Create(comp.GetChild("btn1"));
  68. m_btnStudio = (UI_ButtonModle9)UI_ButtonModle9.Create(comp.GetChild("btnStudio"));
  69. m_btnTravel = (UI_ButtonModle9)UI_ButtonModle9.Create(comp.GetChild("btnTravel"));
  70. m_btnPoem = (UI_ButtonModle9)UI_ButtonModle9.Create(comp.GetChild("btnPoem"));
  71. m_btnPoemGudie = (GButton)comp.GetChild("btnPoemGudie");
  72. m_btnField = (UI_ButtonModle9)UI_ButtonModle9.Create(comp.GetChild("btnField"));
  73. m_btnArena = (UI_ButtonModle9)UI_ButtonModle9.Create(comp.GetChild("btnArena"));
  74. m_eff = (GGraph)comp.GetChild("eff");
  75. m_btnBack = (GButton)comp.GetChild("btnBack");
  76. m_valueBar = (GComponent)comp.GetChild("valueBar");
  77. m_t0 = comp.GetTransition("t0");
  78. }
  79. public void Dispose(bool disposeTarget = false)
  80. {
  81. m_loaBg = null;
  82. m_bg_eff = null;
  83. m_fish_eff = null;
  84. m_btn1.Dispose();
  85. m_btn1 = null;
  86. m_btnStudio.Dispose();
  87. m_btnStudio = null;
  88. m_btnTravel.Dispose();
  89. m_btnTravel = null;
  90. m_btnPoem.Dispose();
  91. m_btnPoem = null;
  92. m_btnPoemGudie = null;
  93. m_btnField.Dispose();
  94. m_btnField = null;
  95. m_btnArena.Dispose();
  96. m_btnArena = null;
  97. m_eff = null;
  98. m_btnBack = null;
  99. m_valueBar = null;
  100. m_t0 = null;
  101. if(disposeTarget && target != null)
  102. {
  103. target.RemoveFromParent();
  104. target.Dispose();
  105. }
  106. target = null;
  107. }
  108. }
  109. }