UI_SettingUI.cs 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  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 GButton m_btnChooseMainBg;
  11. public GLoader m_icon;
  12. public GList m_settingTypeList;
  13. public GButton m_btnExit;
  14. public UI_Slider2 m_musicSlider;
  15. public GButton m_btnMusic;
  16. public UI_Slider2 m_soundSlider;
  17. public GButton m_btnSound;
  18. public UI_Slider2 m_voiceSlider;
  19. public GButton m_btnVoice;
  20. public GTextField m_gameProtectAgree;
  21. public GTextField m_privacyAgree;
  22. public GTextField m_childrenAgree;
  23. public GButton m_btnBinding;
  24. public UI_Button19 m_btnLogout;
  25. public UI_Button20 m_btnGiftCode;
  26. public GButton m_btnBinding_2;
  27. public Transition m_t0;
  28. public const string URL = "ui://374k3dwvr9ri1";
  29. public const string PACKAGE_NAME = "RoleInfo";
  30. public const string RES_NAME = "SettingUI";
  31. private static UI_SettingUI _proxy;
  32. public static UI_SettingUI Create(GObject gObject = null)
  33. {
  34. var ui = new UI_SettingUI();
  35. if(gObject == null)
  36. ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
  37. else
  38. ui.target = (GComponent)gObject;
  39. ui.Init(ui.target);
  40. return ui;
  41. }
  42. public static UI_SettingUI Proxy(GObject gObject = null)
  43. {
  44. if(_proxy == null)
  45. {
  46. _proxy = new UI_SettingUI();
  47. }
  48. var ui = _proxy;
  49. if(gObject == null)
  50. ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
  51. else
  52. ui.target = (GComponent)gObject;
  53. ui.Init(ui.target);
  54. return ui;
  55. }
  56. public static void ProxyEnd()
  57. {
  58. if (_proxy != null)
  59. {
  60. _proxy.Dispose();
  61. }
  62. }
  63. public static void ClearProxy()
  64. {
  65. ProxyEnd();
  66. _proxy = null;
  67. }
  68. private void Init(GComponent comp)
  69. {
  70. m_c1 = comp.GetController("c1");
  71. m_loaBg = (GLoader)comp.GetChild("loaBg");
  72. m_btnChooseMainBg = (GButton)comp.GetChild("btnChooseMainBg");
  73. m_icon = (GLoader)comp.GetChild("icon");
  74. m_settingTypeList = (GList)comp.GetChild("settingTypeList");
  75. m_btnExit = (GButton)comp.GetChild("btnExit");
  76. m_musicSlider = (UI_Slider2)UI_Slider2.Create(comp.GetChild("musicSlider"));
  77. m_btnMusic = (GButton)comp.GetChild("btnMusic");
  78. m_soundSlider = (UI_Slider2)UI_Slider2.Create(comp.GetChild("soundSlider"));
  79. m_btnSound = (GButton)comp.GetChild("btnSound");
  80. m_voiceSlider = (UI_Slider2)UI_Slider2.Create(comp.GetChild("voiceSlider"));
  81. m_btnVoice = (GButton)comp.GetChild("btnVoice");
  82. m_gameProtectAgree = (GTextField)comp.GetChild("gameProtectAgree");
  83. m_privacyAgree = (GTextField)comp.GetChild("privacyAgree");
  84. m_childrenAgree = (GTextField)comp.GetChild("childrenAgree");
  85. m_btnBinding = (GButton)comp.GetChild("btnBinding");
  86. m_btnLogout = (UI_Button19)UI_Button19.Create(comp.GetChild("btnLogout"));
  87. m_btnGiftCode = (UI_Button20)UI_Button20.Create(comp.GetChild("btnGiftCode"));
  88. m_btnBinding_2 = (GButton)comp.GetChild("btnBinding");
  89. m_t0 = comp.GetTransition("t0");
  90. }
  91. public void Dispose(bool disposeTarget = false)
  92. {
  93. m_c1 = null;
  94. m_loaBg = null;
  95. m_btnChooseMainBg = null;
  96. m_icon = null;
  97. m_settingTypeList = null;
  98. m_btnExit = null;
  99. m_musicSlider.Dispose();
  100. m_musicSlider = null;
  101. m_btnMusic = null;
  102. m_soundSlider.Dispose();
  103. m_soundSlider = null;
  104. m_btnSound = null;
  105. m_voiceSlider.Dispose();
  106. m_voiceSlider = null;
  107. m_btnVoice = null;
  108. m_gameProtectAgree = null;
  109. m_privacyAgree = null;
  110. m_childrenAgree = null;
  111. m_btnBinding = null;
  112. m_btnLogout.Dispose();
  113. m_btnLogout = null;
  114. m_btnGiftCode.Dispose();
  115. m_btnGiftCode = null;
  116. m_btnBinding_2 = null;
  117. m_t0 = null;
  118. if(disposeTarget && target != null)
  119. {
  120. target.RemoveFromParent();
  121. target.Dispose();
  122. }
  123. target = null;
  124. }
  125. }
  126. }