UI_ComAllPerfect.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.Main
  4. {
  5. public partial class UI_ComAllPerfect
  6. {
  7. public GComponent target;
  8. public Controller m_c1;
  9. public GGraph m_mask;
  10. public GGraph m_holderSmokeIn;
  11. public GGraph m_holderLoop;
  12. public GGraph m_holder;
  13. public GGraph m_holderSmokeOut;
  14. public GTextField m_txtCount;
  15. public GLoader m_num0;
  16. public GLoader m_num1;
  17. public GLoader m_num2;
  18. public GLoader m_num3;
  19. public GLoader m_num4;
  20. public GGroup m_numGrade;
  21. public GImage m_img3Second;
  22. public Transition m_t0;
  23. public Transition m_t1;
  24. public Transition m_t2;
  25. public const string URL = "ui://mfvz4q8kpsphj4";
  26. public const string PACKAGE_NAME = "Main";
  27. public const string RES_NAME = "ComAllPerfect";
  28. private static UI_ComAllPerfect _proxy;
  29. public static UI_ComAllPerfect Create(GObject gObject = null)
  30. {
  31. var ui = new UI_ComAllPerfect();
  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_ComAllPerfect Proxy(GObject gObject = null)
  40. {
  41. if(_proxy == null)
  42. {
  43. _proxy = new UI_ComAllPerfect();
  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_c1 = comp.GetController("c1");
  68. m_mask = (GGraph)comp.GetChild("mask");
  69. m_holderSmokeIn = (GGraph)comp.GetChild("holderSmokeIn");
  70. m_holderLoop = (GGraph)comp.GetChild("holderLoop");
  71. m_holder = (GGraph)comp.GetChild("holder");
  72. m_holderSmokeOut = (GGraph)comp.GetChild("holderSmokeOut");
  73. m_txtCount = (GTextField)comp.GetChild("txtCount");
  74. m_num0 = (GLoader)comp.GetChild("num0");
  75. m_num1 = (GLoader)comp.GetChild("num1");
  76. m_num2 = (GLoader)comp.GetChild("num2");
  77. m_num3 = (GLoader)comp.GetChild("num3");
  78. m_num4 = (GLoader)comp.GetChild("num4");
  79. m_numGrade = (GGroup)comp.GetChild("numGrade");
  80. m_img3Second = (GImage)comp.GetChild("img3Second");
  81. m_t0 = comp.GetTransition("t0");
  82. m_t1 = comp.GetTransition("t1");
  83. m_t2 = comp.GetTransition("t2");
  84. }
  85. public void Dispose(bool disposeTarget = false)
  86. {
  87. m_c1 = null;
  88. m_mask = null;
  89. m_holderSmokeIn = null;
  90. m_holderLoop = null;
  91. m_holder = null;
  92. m_holderSmokeOut = null;
  93. m_txtCount = null;
  94. m_num0 = null;
  95. m_num1 = null;
  96. m_num2 = null;
  97. m_num3 = null;
  98. m_num4 = null;
  99. m_numGrade = null;
  100. m_img3Second = null;
  101. m_t0 = null;
  102. m_t1 = null;
  103. m_t2 = null;
  104. if(disposeTarget && target != null)
  105. {
  106. target.RemoveFromParent();
  107. target.Dispose();
  108. }
  109. target = null;
  110. }
  111. }
  112. }