protected override void Start()
    {
        base.Start();
        if (selectObject == null)
        {
            GuiUiSceneBase uiscene = GetComponent <GuiUiSceneBase>();
            if (uiscene != null)
            {
                selectObject = uiscene.AllocSelectFlag();
                if (selectObject != null)
                {
                    selectObject.transform.parent = transform;
                }
            }
        }
        if (isAutoWork)
        {
            IsWorkDo = true;
        }
        else
        {
            CurrentSelectButtonIndex = CurrentSelectButtonIndex;
        }
#if PLATFORM_CYBER
        IsUseButtonOkUp = true;
#endif
    }
    //构造一个选择对象
    public virtual GuiSelectFlag AllocSelectFlag()
    {
        GuiUiSceneBase ptr = UICamreaPtr;

        if (ptr == null)
        {
            return(null);
        }
        return(ptr.AllocSelectFlag());
    }