123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130 |
- /** This is an automatically generated class by FairyGUI. Please do not modify it. **/
- using FairyGUI;
- namespace UI.RoleInfo
- {
- public partial class UI_SettingUI
- {
- public GComponent target;
- public Controller m_c1;
- public GLoader m_loaBg;
- public GLoader m_icon;
- public GList m_settingTypeList;
- public GButton m_btnExit;
- public GButton m_btnBinding;
- public UI_Slider2 m_musicSlider;
- public GButton m_btnMusic;
- public UI_Slider2 m_soundSlider;
- public GButton m_btnSound;
- public UI_Slider2 m_voiceSlider;
- public GButton m_btnVoice;
- public GRichTextField m_gameProtectAgree;
- public GRichTextField m_privacyAgree;
- public GRichTextField m_childrenAgree;
- public UI_Button19 m_btnLogout;
- public UI_Button20 m_btnGiftCode;
- public GButton m_btnExchange;
- public Transition m_suit;
- public const string URL = "ui://374k3dwvr9ri1";
- public const string PACKAGE_NAME = "RoleInfo";
- public const string RES_NAME = "SettingUI";
- private static UI_SettingUI _proxy;
- public static UI_SettingUI Create(GObject gObject = null)
- {
- var ui = new UI_SettingUI();
- if(gObject == null)
- ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
- else
- ui.target = (GComponent)gObject;
- ui.Init(ui.target);
- return ui;
- }
- public static UI_SettingUI Proxy(GObject gObject = null)
- {
- if(_proxy == null)
- {
- _proxy = new UI_SettingUI();
- }
- var ui = _proxy;
- if(gObject == null)
- ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
- else
- ui.target = (GComponent)gObject;
- ui.Init(ui.target);
- return ui;
- }
- public static void ProxyEnd()
- {
- if (_proxy != null)
- {
- _proxy.Dispose();
- }
- }
- public static void ClearProxy()
- {
- ProxyEnd();
- _proxy = null;
- }
- private void Init(GComponent comp)
- {
- m_c1 = comp.GetController("c1");
- m_loaBg = (GLoader)comp.GetChild("loaBg");
- m_icon = (GLoader)comp.GetChild("icon");
- m_settingTypeList = (GList)comp.GetChild("settingTypeList");
- m_btnExit = (GButton)comp.GetChild("btnExit");
- m_btnBinding = (GButton)comp.GetChild("btnBinding");
- m_musicSlider = (UI_Slider2)UI_Slider2.Create(comp.GetChild("musicSlider"));
- m_btnMusic = (GButton)comp.GetChild("btnMusic");
- m_soundSlider = (UI_Slider2)UI_Slider2.Create(comp.GetChild("soundSlider"));
- m_btnSound = (GButton)comp.GetChild("btnSound");
- m_voiceSlider = (UI_Slider2)UI_Slider2.Create(comp.GetChild("voiceSlider"));
- m_btnVoice = (GButton)comp.GetChild("btnVoice");
- m_gameProtectAgree = (GRichTextField)comp.GetChild("gameProtectAgree");
- m_privacyAgree = (GRichTextField)comp.GetChild("privacyAgree");
- m_childrenAgree = (GRichTextField)comp.GetChild("childrenAgree");
- m_btnLogout = (UI_Button19)UI_Button19.Create(comp.GetChild("btnLogout"));
- m_btnGiftCode = (UI_Button20)UI_Button20.Create(comp.GetChild("btnGiftCode"));
- m_btnExchange = (GButton)comp.GetChild("btnExchange");
- m_suit = comp.GetTransition("suit");
- }
- public void Dispose(bool disposeTarget = false)
- {
- m_c1 = null;
- m_loaBg = null;
- m_icon = null;
- m_settingTypeList = null;
- m_btnExit = null;
- m_btnBinding = null;
- m_musicSlider.Dispose();
- m_musicSlider = null;
- m_btnMusic = null;
- m_soundSlider.Dispose();
- m_soundSlider = null;
- m_btnSound = null;
- m_voiceSlider.Dispose();
- m_voiceSlider = null;
- m_btnVoice = null;
- m_gameProtectAgree = null;
- m_privacyAgree = null;
- m_childrenAgree = null;
- m_btnLogout.Dispose();
- m_btnLogout = null;
- m_btnGiftCode.Dispose();
- m_btnGiftCode = null;
- m_btnExchange = null;
- m_suit = null;
- if(disposeTarget && target != null)
- {
- target.RemoveFromParent();
- target.Dispose();
- }
- target = null;
- }
- }
- }
|