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

using FairyGUI;
using FairyGUI.Utils;

namespace FGUI.Game_04
{
    public partial class com_rewardbox : GComponent
    {
        public Controller switchgift;
        public GButton btn_lookad;
        public GButton btn_close;
        public GButton btn_close_2;
        public GTextField title;
        public GComponent wheel;
        public GTextField gold_text;
        public const string URL = "ui://g3iqdlgccgqg1q";

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

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

            switchgift = GetControllerAt(0);
            btn_lookad = (GButton)GetChildAt(4);
            btn_close = (GButton)GetChildAt(5);
            btn_close_2 = (GButton)GetChildAt(6);
            title = (GTextField)GetChildAt(7);
            wheel = (GComponent)GetChildAt(8);
            gold_text = (GTextField)GetChildAt(9);
        }
    }
}