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

using FairyGUI;
using FairyGUI.Utils;

namespace FGUI.store_17
{
    public partial class btn_watchAd2 : 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 const string URL = "ui://5crzgdh6txo33d";

        public static btn_watchAd2 CreateInstance()
        {
            return (btn_watchAd2)UIPackage.CreateObject("store_17", "btn_watchAd2");
        }

        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);
        }
    }
}