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

using FairyGUI;
using FairyGUI.Utils;

namespace FGUI.Egg_20
{
    public partial class com_egg_item : GButton
    {
        public Controller egg_state;
        public GImage egg;
        public GGraph anim_bg1;
        public GGraph anim_bg;
        public GTextField text_num;
        public const string URL = "ui://oi9nwct7dgute";

        public static com_egg_item CreateInstance()
        {
            return (com_egg_item)UIPackage.CreateObject("Egg_20", "com_egg_item");
        }

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

            egg_state = GetControllerAt(0);
            egg = (GImage)GetChildAt(1);
            anim_bg1 = (GGraph)GetChildAt(2);
            anim_bg = (GGraph)GetChildAt(3);
            text_num = (GTextField)GetChildAt(5);
        }
    }
}