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

using FairyGUI;
using FairyGUI.Utils;

namespace FGUI.G008_reward
{
    public partial class com_rewardbox : GComponent
    {
        public Controller switchgift;
        public GTextField gold_text;
        public GButton btn_lookad;
        public GButton btn_close;
        public const string URL = "ui://1x1w9cxnagfuk";

        public static com_rewardbox CreateInstance()
        {
            return (com_rewardbox)UIPackage.CreateObject("G008_reward", "com_rewardbox");
        }

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

            switchgift = GetControllerAt(0);
            gold_text = (GTextField)GetChildAt(3);
            btn_lookad = (GButton)GetChildAt(4);
            btn_close = (GButton)GetChildAt(5);
        }
    }
}