胜利才弹网赚
This commit is contained in:
parent
09b3be2c38
commit
7f52f1e028
|
|
@ -430,6 +430,8 @@ public class GameLogic : MonoBehaviour
|
||||||
AudioManager.Instance.PlaySound(AudioClipType.GameLose);
|
AudioManager.Instance.PlaySound(AudioClipType.GameLose);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (mIsWin)
|
||||||
|
{
|
||||||
mOverTimer.StartTimer(() =>
|
mOverTimer.StartTimer(() =>
|
||||||
{
|
{
|
||||||
MMOModule.Instance.PassLevel(PlayerData.Instance.CurrentLevel, (pPos, pDiamond) =>
|
MMOModule.Instance.PassLevel(PlayerData.Instance.CurrentLevel, (pPos, pDiamond) =>
|
||||||
|
|
@ -439,6 +441,11 @@ public class GameLogic : MonoBehaviour
|
||||||
}, ShowResult);
|
}, ShowResult);
|
||||||
}, 1.5f);
|
}, 1.5f);
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
mOverTimer.StartTimer(ShowResult, 1.5f);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
private void ShowResult()
|
private void ShowResult()
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue