/// <summary>
    /// 打开大转盘旋转开关
    /// </summary>
    /// <param name="data"></param>
    public void StartTurn(TransferData data)
    {
        int giftIndex   = data.GetValue <int>("giftIndex");
        int surPlusTime = data.GetValue <int>("time");
        int totalTime   = data.GetValue <int>("timeTotal");

        //string message = data.GetValue<string>("message");
        //int giftCallBackNum = data.GetValue<int>("giftCallBackNum");
        //GiftType giftType = data.GetValue<GiftType>("giftType");

        //GetComponent<UILotteryWheelInfo>().SetGiftCallBackData(giftIndex, message, surPlusTime, totalTime, giftCallBackNum, giftType);
        //GetComponent<UILotteryWheelInfo>().SetGiftCallBackData(giftIndex, message, surPlusTime, totalTime);
        GetComponent <UILotteryWheelInfo>().SetGiftCallBackData(giftIndex, surPlusTime, totalTime);

        //surPlusTimeText.SafeSetText(surPlusTime.ToString());
        //surPlusTotalTimeText.SafeSetText(totalTime.ToString());

        for (int i = 0; i < giftRawImage.Length; ++i)
        {
            UIGiftInfo info = giftRawImage[i].gameObject.GetComponent <UIGiftInfo>();
            if (info.GetUIGiftIndex() == giftIndex)
            {
                choiceTargetIndex = info.GetUIGiftIndex();
                choiceTargetNum   = i + 1;
                if (choiceTargetNum == 12)
                {
                    choiceTargetNum = 0;
                }
            }
        }
        if (!isStartTurn)
        {
            isStartTurn = true;
        }
    }
 public string GetTargetGiftName()
 {
     for (int i = 0; i < giftRawImage.Length; ++i)
     {
         UIGiftInfo info = giftRawImage[i].gameObject.GetComponent <UIGiftInfo>();
         if (info.GetUIGiftIndex() == choiceTargetIndex)
         {
             return(info.GetName());
         }
     }
     return(null);
 }