예제 #1
0
    //开始
    public override void start()
    {
        UIDicePlane  uIDicePlane  = MessageManager.GetInstance.GetUIDict <UIDicePlane>();
        DiceGameMove diceGameMove = MessageManager.GetInstance.GetUIDict <DiceGameMove>();

        //记录自己的财富
        uIDicePlane.SelfWeathinfo();
        //倒计时开始
        diceGameMove.CountdownMove1(25);
        uIDicePlane.BetChipBool(true);
    }
예제 #2
0
    //停止投注
    public void StopBet()
    {   //出现提示消息
        AudioManager.Instance.PlaySound("maidinglishou");
        AwaithintCor = ILMgr.Instance.StartCoroutine(Awaithint());
        CountDown.GetChild(0).GetComponent <Text>().text = "0";
        CountDown.gameObject.SetActive(false);
        if (CountdownMoveatorCor != null)
        {
            ILMgr.Instance.StopCoroutine(CountdownMoveatorCor);
        }
        CountdownMoveatorCor = null;
        UIDicePlane uiDicePlane = MessageManager.GetInstance.GetUIDict <UIDicePlane>();

        //不可以投注
        uiDicePlane.BetChipBool(false);
    }