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

using FairyGUI;
using FairyGUI.Utils;

namespace FGUI.JTask
{
    public partial class com_Singletask : GComponent
    {
        public Controller cont_collect;
        public Controller cont_currency;
        public Controller gift;
        public GProgressBar com_task_pb;
        public GTextField text_taskname;
        public GLoader loader_reward;
        public GLoader loader_reward_;
        public GTextField text_num;
        public btn_task btn_task;
        public GTextField text_progress;
        public const string URL = "ui://qmomwx89n5d58";

        public static com_Singletask CreateInstance()
        {
            return (com_Singletask)UIPackage.CreateObject("JTask", "com_Singletask");
        }

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

            cont_collect = GetControllerAt(0);
            cont_currency = GetControllerAt(1);
            gift = GetControllerAt(2);
            com_task_pb = (GProgressBar)GetChildAt(0);
            text_taskname = (GTextField)GetChildAt(3);
            loader_reward = (GLoader)GetChildAt(4);
            loader_reward_ = (GLoader)GetChildAt(5);
            text_num = (GTextField)GetChildAt(6);
            btn_task = (btn_task)GetChildAt(7);
            text_progress = (GTextField)GetChildAt(8);
        }
    }
}