/** This is an automatically generated class by FairyGUI. Please do not modify it. **/

using FairyGUI;
using FairyGUI.Utils;

namespace FGUI.G006_menu
{
    public partial class com_menu : GComponent
    {
        public Controller switchgift;
        public GTextField title0;
        public GButton btn_close;
        public GTextField text_uid;
        public GTextField text_version;
        public GTextField title3;
        public btn_switch_sound btn_music;
        public GTextField title1;
        public btn_switch_sound btn_sound;
        public btn_lang btn_record;
        public btn_lang btn_contact;
        public btn_lang btn_pri;
        public btn_lang btn_terms;
        public btn_lang_red ExitBtn;
        public btn_lang btn_restore;
        public const string URL = "ui://mqs6max7u6tn12";

        public static com_menu CreateInstance()
        {
            return (com_menu)UIPackage.CreateObject("G006_menu", "com_menu");
        }

        public override void ConstructFromXML(XML xml)
        {
            base.ConstructFromXML(xml);

            switchgift = GetControllerAt(0);
            title0 = (GTextField)GetChildAt(2);
            btn_close = (GButton)GetChildAt(3);
            text_uid = (GTextField)GetChildAt(5);
            text_version = (GTextField)GetChildAt(6);
            title3 = (GTextField)GetChildAt(8);
            btn_music = (btn_switch_sound)GetChildAt(9);
            title1 = (GTextField)GetChildAt(11);
            btn_sound = (btn_switch_sound)GetChildAt(12);
            btn_record = (btn_lang)GetChildAt(14);
            btn_contact = (btn_lang)GetChildAt(15);
            btn_pri = (btn_lang)GetChildAt(16);
            btn_terms = (btn_lang)GetChildAt(17);
            ExitBtn = (btn_lang_red)GetChildAt(18);
            btn_restore = (btn_lang)GetChildAt(19);
        }
    }
}