Beispiel #1
0
        IEnumerator Spin_Enter()
        {
            _bookedSpin = false;

            if (_paylineDisplayer != null)
            {
                _paylineDisplayer.Clear();
            }

            _betting.Save();

            _ui.Spin();
            _reelContainer.Spin();
            _topboard.Spin();

            SlotSoundList.Spin();

            if (_testSendData != null)
            {
                GameServerCommunicator.Instance.Send(_testSendData);
                _testSendData = null;
            }
            else
            {
                GameServerCommunicator.Instance.Spin(_betting.LineBet);
            }

            yield break;
        }
Beispiel #2
0
        IEnumerator BonusSpin_Enter()
        {
            if (_paylineDisplayer != null)
            {
                _paylineDisplayer.Clear();
            }

            _lastSpinInfo = _model.NextSpin();

            yield return(_reelContainer.LockReel(_lastSpinInfo.fixedreel));

            _topboard.BonusSpin();

            yield return(new WaitForSeconds(MachineConfig.transition.LockReelAfterDelay));

            _reelContainer.BonusSpin(_lastSpinInfo);
            SlotSoundList.Spin();

            yield break;
        }