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

using FairyGUI;
using FairyGUI.Utils;

namespace FGUI.LG_secretAlbums
{
    public partial class btn_unlock_ad : GButton
    {
        public Controller can_buy;
        public Controller CD;
        public GTextField ads;
        public GTextField text_rec;
        public GTextField watch_cd;
        public const string URL = "ui://t5s0mx99pjnn21";

        public static btn_unlock_ad CreateInstance()
        {
            return (btn_unlock_ad)UIPackage.CreateObject("LG_secretAlbums", "btn_unlock_ad");
        }

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

            can_buy = GetControllerAt(0);
            CD = GetControllerAt(1);
            ads = (GTextField)GetChildAt(1);
            text_rec = (GTextField)GetChildAt(3);
            watch_cd = (GTextField)GetChildAt(4);
        }
    }
}