胜利才弹网赚

This commit is contained in:
yangjing 2022-10-07 17:41:01 +08:00
parent 09b3be2c38
commit 7f52f1e028
1 changed files with 14 additions and 7 deletions

View File

@ -430,6 +430,8 @@ public class GameLogic : MonoBehaviour
AudioManager.Instance.PlaySound(AudioClipType.GameLose);
}
if (mIsWin)
{
mOverTimer.StartTimer(() =>
{
MMOModule.Instance.PassLevel(PlayerData.Instance.CurrentLevel, (pPos, pDiamond) =>
@ -439,6 +441,11 @@ public class GameLogic : MonoBehaviour
}, ShowResult);
}, 1.5f);
}
else
{
mOverTimer.StartTimer(ShowResult, 1.5f);
}
}
private void ShowResult()
{