Exemplo n.º 1
0
    //派发金币
    private void SendBet(GameRankingListDto tOSettleRanking)
    {
        if (liuliu.SelfWeathDto != null)
        {
            if (liuliu.SelfWeathDto[1] > 0)
            {
                if (generatePos.childCount > 0)
                {
                    for (int i = 0; i < generatePos.childCount; i++)
                    {
                        GameObject obj     = generatePos.GetChild(i).gameObject;
                        Tweener    tweener = obj.transform.DOLocalMove
                                                 (new Vector3(PlayerIma.transform.localPosition.x, PlayerIma.transform.localPosition.y), 0.5f);
                    }
                }
            }
        }
        AudioManager.Instance.PlaySound("g2");
        if (BankerChipPos.childCount > 0)
        {
            for (int i = 0; i < BankerChipPos.childCount; i++)
            {
                GameObject obj     = BankerChipPos.GetChild(i).gameObject;
                Tweener    tweener = obj.transform.DOLocalMove
                                         (new Vector3(OtherInfoBtn.transform.localPosition.x + 100, OtherInfoBtn.transform.localPosition.y), 0.5f);
            }
        }
        GameMove gameMove = MessageManager.GetInstance.GetUIDict <GameMove>();

        AudioManager.Instance.PlaySound("g2");
        gameMove.Settleaccounts(tOSettleRanking);
    }