예제 #1
0
 public void StopWinTypeEffect()
 {
     //return;
     _curWinType = DEF.eSlotWinType.none;
     //SOUND.I.Play(IGDEF)
     _goBigWin.SetActive(false);
     _goMegaWin.SetActive(false);
     _goJackpotWin.SetActive(false);
 }
예제 #2
0
    public void PlayWinTypeEffect(string winType)
    {
        if (_curWinType == DEF.eSlotWinType.bigWin)
        {
            _goBigWin.SetActive(false);
        }

        if (winType == DEF.eSlotWinType.bigWin.ToString())
        {
            _goBigWin.SetActive(true);
            _curWinType = DEF.eSlotWinType.bigWin;
        }
        else if (winType == DEF.eSlotWinType.megaWin.ToString())
        {
            _goMegaWin.SetActive(true);
            _curWinType = DEF.eSlotWinType.megaWin;
        }
        else if (winType == DEF.eSlotWinType.jackpot.ToString())
        {
            _goMegaWin.SetActive(false);
            _goJackpotWin.SetActive(true);
            _curWinType = DEF.eSlotWinType.jackpot;
        }
    }