/** 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 buygold_item : GComponent
    {
        public Controller index;
        public Controller pay_type;
        public Controller show_off;
        public GTextField coin_text;
        public btn_buy btn_buy;
        public GTextField off_text;
        public GTextField content_text;
        public GTextField text_priceDescription;
        public const string URL = "ui://ulg8pausagfu1a";

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

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

            index = GetControllerAt(0);
            pay_type = GetControllerAt(1);
            show_off = GetControllerAt(2);
            coin_text = (GTextField)GetChildAt(6);
            btn_buy = (btn_buy)GetChildAt(7);
            off_text = (GTextField)GetChildAt(9);
            content_text = (GTextField)GetChildAt(10);
            text_priceDescription = (GTextField)GetChildAt(11);
        }
    }
}