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

using FairyGUI;
using FairyGUI.Utils;

namespace FGUI.threeDaysGift
{
    public partial class btn_watchAd : GButton
    {
        public Controller buy_state;
        public Controller can_buy;
        public GTextField btn_text;
        public GTextField watch;
        public const string URL = "ui://k972hayzd6uiw";

        public static btn_watchAd CreateInstance()
        {
            return (btn_watchAd)UIPackage.CreateObject("threeDaysGift", "btn_watchAd");
        }

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

            buy_state = GetControllerAt(0);
            can_buy = GetControllerAt(1);
            btn_text = (GTextField)GetChildAt(2);
            watch = (GTextField)GetChildAt(3);
        }
    }
}