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

using FairyGUI;
using FairyGUI.Utils;

namespace FGUI.AddCell_12
{
    public partial class btn_add_watchAd : GButton
    {
        public Controller buy_state;
        public Controller can_buy;
        public GTextField btn_text;
        public GTextField watch;
        public GImage ad_icon;
        public GImage img_saveingpot;
        public GTextField text_time;
        public const string URL = "ui://cwrkvs46iec4ax";

        public static btn_add_watchAd CreateInstance()
        {
            return (btn_add_watchAd)UIPackage.CreateObject("AddCell_12", "btn_add_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);
            ad_icon = (GImage)GetChildAt(4);
            img_saveingpot = (GImage)GetChildAt(6);
            text_time = (GTextField)GetChildAt(11);
        }
    }
}