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

using FairyGUI;
using FairyGUI.Utils;

namespace FGUI.G012_openReward
{
    public partial class btn_buy : GButton
    {
        public Controller can_buy;
        public GTextField btn_text;
        public GImage img_saveingpot;
        public const string URL = "ui://ulg8pausagfu1b";

        public static btn_buy CreateInstance()
        {
            return (btn_buy)UIPackage.CreateObject("G012_openReward", "btn_buy");
        }

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

            can_buy = GetControllerAt(0);
            btn_text = (GTextField)GetChildAt(2);
            img_saveingpot = (GImage)GetChildAt(3);
        }
    }
}