UI_ComAllPerfect.cs 3.7 KB

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