UI_SettingUI.cs 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  1. /** This is an automatically generated class by FairyGUI. Please do not modify it. **/
  2. using FairyGUI;
  3. namespace UI.RoleInfo
  4. {
  5. public partial class UI_SettingUI
  6. {
  7. public GComponent target;
  8. public Controller m_c1;
  9. public GLoader m_loaBg;
  10. public GImage m_iconBg;
  11. public GLoader m_icon;
  12. public GList m_settingTypeList;
  13. public GButton m_btnExit;
  14. public GButton m_btnBinding;
  15. public UI_Slider2 m_musicSlider;
  16. public GButton m_btnMusic;
  17. public UI_Slider2 m_soundSlider;
  18. public GButton m_btnSound;
  19. public UI_Slider2 m_voiceSlider;
  20. public GButton m_btnVoice;
  21. public GRichTextField m_gameProtectAgree;
  22. public GRichTextField m_privacyAgree;
  23. public GRichTextField m_childrenAgree;
  24. public GRichTextField m_txtDeleteAccount;
  25. public GGroup m_groupAccount;
  26. public UI_Button19 m_btnLogout;
  27. public UI_Button20 m_btnGiftCode;
  28. public GButton m_btnExchange;
  29. public Transition m_suit;
  30. public const string URL = "ui://374k3dwvr9ri1";
  31. public const string PACKAGE_NAME = "RoleInfo";
  32. public const string RES_NAME = "SettingUI";
  33. private static UI_SettingUI _proxy;
  34. public static UI_SettingUI Create(GObject gObject = null)
  35. {
  36. var ui = new UI_SettingUI();
  37. if(gObject == null)
  38. ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
  39. else
  40. ui.target = (GComponent)gObject;
  41. ui.Init(ui.target);
  42. return ui;
  43. }
  44. public static UI_SettingUI Proxy(GObject gObject = null)
  45. {
  46. if(_proxy == null)
  47. {
  48. _proxy = new UI_SettingUI();
  49. }
  50. var ui = _proxy;
  51. if(gObject == null)
  52. ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
  53. else
  54. ui.target = (GComponent)gObject;
  55. ui.Init(ui.target);
  56. return ui;
  57. }
  58. public static void ProxyEnd()
  59. {
  60. if (_proxy != null)
  61. {
  62. _proxy.Dispose();
  63. }
  64. }
  65. public static void ClearProxy()
  66. {
  67. ProxyEnd();
  68. _proxy = null;
  69. }
  70. private void Init(GComponent comp)
  71. {
  72. m_c1 = comp.GetController("c1");
  73. m_loaBg = (GLoader)comp.GetChild("loaBg");
  74. m_iconBg = (GImage)comp.GetChild("iconBg");
  75. m_icon = (GLoader)comp.GetChild("icon");
  76. m_settingTypeList = (GList)comp.GetChild("settingTypeList");
  77. m_btnExit = (GButton)comp.GetChild("btnExit");
  78. m_btnBinding = (GButton)comp.GetChild("btnBinding");
  79. m_musicSlider = (UI_Slider2)UI_Slider2.Create(comp.GetChild("musicSlider"));
  80. m_btnMusic = (GButton)comp.GetChild("btnMusic");
  81. m_soundSlider = (UI_Slider2)UI_Slider2.Create(comp.GetChild("soundSlider"));
  82. m_btnSound = (GButton)comp.GetChild("btnSound");
  83. m_voiceSlider = (UI_Slider2)UI_Slider2.Create(comp.GetChild("voiceSlider"));
  84. m_btnVoice = (GButton)comp.GetChild("btnVoice");
  85. m_gameProtectAgree = (GRichTextField)comp.GetChild("gameProtectAgree");
  86. m_privacyAgree = (GRichTextField)comp.GetChild("privacyAgree");
  87. m_childrenAgree = (GRichTextField)comp.GetChild("childrenAgree");
  88. m_txtDeleteAccount = (GRichTextField)comp.GetChild("txtDeleteAccount");
  89. m_groupAccount = (GGroup)comp.GetChild("groupAccount");
  90. m_btnLogout = (UI_Button19)UI_Button19.Create(comp.GetChild("btnLogout"));
  91. m_btnGiftCode = (UI_Button20)UI_Button20.Create(comp.GetChild("btnGiftCode"));
  92. m_btnExchange = (GButton)comp.GetChild("btnExchange");
  93. m_suit = comp.GetTransition("suit");
  94. }
  95. public void Dispose(bool disposeTarget = false)
  96. {
  97. m_c1 = null;
  98. m_loaBg = null;
  99. m_iconBg = null;
  100. m_icon = null;
  101. m_settingTypeList = null;
  102. m_btnExit = null;
  103. m_btnBinding = null;
  104. m_musicSlider.Dispose();
  105. m_musicSlider = null;
  106. m_btnMusic = null;
  107. m_soundSlider.Dispose();
  108. m_soundSlider = null;
  109. m_btnSound = null;
  110. m_voiceSlider.Dispose();
  111. m_voiceSlider = null;
  112. m_btnVoice = null;
  113. m_gameProtectAgree = null;
  114. m_privacyAgree = null;
  115. m_childrenAgree = null;
  116. m_txtDeleteAccount = null;
  117. m_groupAccount = null;
  118. m_btnLogout.Dispose();
  119. m_btnLogout = null;
  120. m_btnGiftCode.Dispose();
  121. m_btnGiftCode = null;
  122. m_btnExchange = null;
  123. m_suit = null;
  124. if(disposeTarget && target != null)
  125. {
  126. target.RemoveFromParent();
  127. target.Dispose();
  128. }
  129. target = null;
  130. }
  131. }
  132. }