UI_ClothingFosterFinishUI.cs 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. /** This is an automatically generated class by FairyGUI. Please do not modify it. **/
  2. using FairyGUI;
  3. namespace UI.ClothingFoster
  4. {
  5. public partial class UI_ClothingFosterFinishUI
  6. {
  7. public GComponent target;
  8. public GLoader m_loaBg;
  9. public GTextField m_txtRenewTips;
  10. public GGroup m_grpRenew;
  11. public GImage m_img;
  12. public GComponent m_comProperty0;
  13. public GComponent m_comProperty1;
  14. public GComponent m_comProperty2;
  15. public GComponent m_comProperty3;
  16. public GGroup m_grpProperty;
  17. public GComponent m_comAddProperty0;
  18. public GComponent m_comAddProperty1;
  19. public GComponent m_comAddProperty2;
  20. public GComponent m_comAddProperty3;
  21. public GGroup m_grpAddProperty;
  22. public Transition m_t0;
  23. public Transition m_t1;
  24. public const string URL = "ui://uicwtr5bpy5gs";
  25. public const string PACKAGE_NAME = "ClothingFoster";
  26. public const string RES_NAME = "ClothingFosterFinishUI";
  27. private static UI_ClothingFosterFinishUI _proxy;
  28. public static UI_ClothingFosterFinishUI Create(GObject gObject = null)
  29. {
  30. var ui = new UI_ClothingFosterFinishUI();
  31. if(gObject == null)
  32. ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
  33. else
  34. ui.target = (GComponent)gObject;
  35. ui.Init(ui.target);
  36. return ui;
  37. }
  38. public static UI_ClothingFosterFinishUI Proxy(GObject gObject = null)
  39. {
  40. if(_proxy == null)
  41. {
  42. _proxy = new UI_ClothingFosterFinishUI();
  43. }
  44. var ui = _proxy;
  45. if(gObject == null)
  46. ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
  47. else
  48. ui.target = (GComponent)gObject;
  49. ui.Init(ui.target);
  50. return ui;
  51. }
  52. public static void ProxyEnd()
  53. {
  54. if (_proxy != null)
  55. {
  56. _proxy.Dispose();
  57. }
  58. }
  59. public static void ClearProxy()
  60. {
  61. ProxyEnd();
  62. _proxy = null;
  63. }
  64. private void Init(GComponent comp)
  65. {
  66. m_loaBg = (GLoader)comp.GetChild("loaBg");
  67. m_txtRenewTips = (GTextField)comp.GetChild("txtRenewTips");
  68. m_grpRenew = (GGroup)comp.GetChild("grpRenew");
  69. m_img = (GImage)comp.GetChild("img");
  70. m_comProperty0 = (GComponent)comp.GetChild("comProperty0");
  71. m_comProperty1 = (GComponent)comp.GetChild("comProperty1");
  72. m_comProperty2 = (GComponent)comp.GetChild("comProperty2");
  73. m_comProperty3 = (GComponent)comp.GetChild("comProperty3");
  74. m_grpProperty = (GGroup)comp.GetChild("grpProperty");
  75. m_comAddProperty0 = (GComponent)comp.GetChild("comAddProperty0");
  76. m_comAddProperty1 = (GComponent)comp.GetChild("comAddProperty1");
  77. m_comAddProperty2 = (GComponent)comp.GetChild("comAddProperty2");
  78. m_comAddProperty3 = (GComponent)comp.GetChild("comAddProperty3");
  79. m_grpAddProperty = (GGroup)comp.GetChild("grpAddProperty");
  80. m_t0 = comp.GetTransition("t0");
  81. m_t1 = comp.GetTransition("t1");
  82. }
  83. public void Dispose(bool disposeTarget = false)
  84. {
  85. m_loaBg = null;
  86. m_txtRenewTips = null;
  87. m_grpRenew = null;
  88. m_img = null;
  89. m_comProperty0 = null;
  90. m_comProperty1 = null;
  91. m_comProperty2 = null;
  92. m_comProperty3 = null;
  93. m_grpProperty = null;
  94. m_comAddProperty0 = null;
  95. m_comAddProperty1 = null;
  96. m_comAddProperty2 = null;
  97. m_comAddProperty3 = null;
  98. m_grpAddProperty = null;
  99. m_t0 = null;
  100. m_t1 = null;
  101. if(disposeTarget && target != null)
  102. {
  103. target.RemoveFromParent();
  104. target.Dispose();
  105. }
  106. target = null;
  107. }
  108. }
  109. }