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

using FairyGUI;
using FairyGUI.Utils;

namespace FGUI.G020_PrizeWheel
{
    public partial class PrizeWheelPanel : GComponent
    {
        public PrizeWheel PrizeWheel;
        public GImage Pointer;
        public GGraph PrizeWheelAnimParent;
        public GGroup MiddlePart;
        public GImage TitleBg;
        public GComponent gold;
        public GButton CloseBtn;
        public GTextField TitleText;
        public GGroup TopBox;
        public StartSpinButton StartSpinBtn;
        public GRichTextField RemainingCountText;
        public GGroup BottomBox;
        public Transition Open;
        public Transition Close;
        public const string URL = "ui://dd6xc38htrht6";

        public static PrizeWheelPanel CreateInstance()
        {
            return (PrizeWheelPanel)UIPackage.CreateObject("G020_PrizeWheel", "PrizeWheelPanel");
        }

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

            PrizeWheel = (PrizeWheel)GetChildAt(0);
            Pointer = (GImage)GetChildAt(1);
            PrizeWheelAnimParent = (GGraph)GetChildAt(2);
            MiddlePart = (GGroup)GetChildAt(3);
            TitleBg = (GImage)GetChildAt(4);
            gold = (GComponent)GetChildAt(5);
            CloseBtn = (GButton)GetChildAt(6);
            TitleText = (GTextField)GetChildAt(7);
            TopBox = (GGroup)GetChildAt(8);
            StartSpinBtn = (StartSpinButton)GetChildAt(9);
            RemainingCountText = (GRichTextField)GetChildAt(10);
            BottomBox = (GGroup)GetChildAt(11);
            Open = GetTransitionAt(0);
            Close = GetTransitionAt(1);
        }
    }
}