IEnumerator startEndEffect() { int index = 0; while (true) { goOnEffectBorderContainer.SetActive(index % 2 == 0); ++index; if (index > 6) { break; } yield return(Util.ws01); } isReady = true; GameManager.soundManager.stopLoopEffect(); SoundData.play("uifr_bonusstop"); GameManager.me.uiManager.uiMenu.uiFriend.btnReceiveBonus.isEnabled = (GameDataManager.instance.friendPoint >= GameDataManager.instance.slotMachinePrice); if (TutorialManager.instance.isTutorialMode == false) { UISystemPopup.checkLevelupPopupWithoutCallback(); } GameManager.me.uiManager.uiMenu.uiFriend.btnBack.isEnabled = true; GameManager.me.uiManager.uiMenu.uiFriend.btnInvite.isEnabled = true; GameManager.me.uiManager.uiMenu.uiFriend.lbSlotMachinePrice.text = Util.GetCommaScore(GameDataManager.instance.slotMachinePrice); if (receiveReward.code == WSDefine.REWARD_TYPE_ITEM || receiveReward.code == WSDefine.REWARD_TYPE_GACHA) { RuneStudioMain.instance.playMakeResult(new string[] { receiveReward.itemId }, false); } else if (receiveReward.code == WSDefine.REWARD_TYPE_RUNE) { RuneStudioMain.instance.playMakeResult(new string[] { slotMachinePacketInfo.rewardItem }, false); } else { GameManager.me.uiManager.rewardNotice.start(true, receiveReward); } if (TutorialManager.nowPlayingTutorial("T15", 4)) { TutorialManager.instance.subStep = 6; EpiServer.instance.sendCompleteTutorial("T15"); } }