UI_InstanceZonesUI.cs 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  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 GComponent m_valueBar;
  10. public GButton m_btnBack;
  11. public UI_ButtonModle7 m_btn1;
  12. public UI_ButtonModle9 m_btnStudio;
  13. public UI_ButtonModle9 m_btnTravel;
  14. public UI_ButtonModle8 m_btnPoem;
  15. public UI_ButtonModle9 m_btnField;
  16. public UI_ButtonModle8 m_btnArena;
  17. public GGroup m_grpRight;
  18. public GLoader m_loaGuidestudio;
  19. public Transition m_t0;
  20. public const string URL = "ui://ez8qotvcyeocfv0";
  21. public const string PACKAGE_NAME = "InstanceZones";
  22. public const string RES_NAME = "InstanceZonesUI";
  23. private static UI_InstanceZonesUI _proxy;
  24. public static UI_InstanceZonesUI Create(GObject gObject = null)
  25. {
  26. var ui = new UI_InstanceZonesUI();
  27. if(gObject == null)
  28. ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
  29. else
  30. ui.target = (GComponent)gObject;
  31. ui.Init(ui.target);
  32. return ui;
  33. }
  34. public static UI_InstanceZonesUI Proxy(GObject gObject = null)
  35. {
  36. if(_proxy == null)
  37. {
  38. _proxy = new UI_InstanceZonesUI();
  39. }
  40. var ui = _proxy;
  41. if(gObject == null)
  42. ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
  43. else
  44. ui.target = (GComponent)gObject;
  45. ui.Init(ui.target);
  46. return ui;
  47. }
  48. public static void ProxyEnd()
  49. {
  50. if (_proxy != null)
  51. {
  52. _proxy.Dispose();
  53. }
  54. }
  55. public static void ClearProxy()
  56. {
  57. ProxyEnd();
  58. _proxy = null;
  59. }
  60. private void Init(GComponent comp)
  61. {
  62. m_loaBg = (GLoader)comp.GetChild("loaBg");
  63. m_valueBar = (GComponent)comp.GetChild("valueBar");
  64. m_btnBack = (GButton)comp.GetChild("btnBack");
  65. m_btn1 = (UI_ButtonModle7)UI_ButtonModle7.Create(comp.GetChild("btn1"));
  66. m_btnStudio = (UI_ButtonModle9)UI_ButtonModle9.Create(comp.GetChild("btnStudio"));
  67. m_btnTravel = (UI_ButtonModle9)UI_ButtonModle9.Create(comp.GetChild("btnTravel"));
  68. m_btnPoem = (UI_ButtonModle8)UI_ButtonModle8.Create(comp.GetChild("btnPoem"));
  69. m_btnField = (UI_ButtonModle9)UI_ButtonModle9.Create(comp.GetChild("btnField"));
  70. m_btnArena = (UI_ButtonModle8)UI_ButtonModle8.Create(comp.GetChild("btnArena"));
  71. m_grpRight = (GGroup)comp.GetChild("grpRight");
  72. m_loaGuidestudio = (GLoader)comp.GetChild("loaGuidestudio");
  73. m_t0 = comp.GetTransition("t0");
  74. }
  75. public void Dispose(bool disposeTarget = false)
  76. {
  77. m_loaBg = null;
  78. m_valueBar = null;
  79. m_btnBack = null;
  80. m_btn1.Dispose();
  81. m_btn1 = null;
  82. m_btnStudio.Dispose();
  83. m_btnStudio = null;
  84. m_btnTravel.Dispose();
  85. m_btnTravel = null;
  86. m_btnPoem.Dispose();
  87. m_btnPoem = null;
  88. m_btnField.Dispose();
  89. m_btnField = null;
  90. m_btnArena.Dispose();
  91. m_btnArena = null;
  92. m_grpRight = null;
  93. m_loaGuidestudio = null;
  94. m_t0 = null;
  95. if(disposeTarget && target != null)
  96. {
  97. target.RemoveFromParent();
  98. target.Dispose();
  99. }
  100. target = null;
  101. }
  102. }
  103. }