Update GamePlayManager.cs

dev-hazim
Hazim Bin Ijaz 1 month ago
parent 4bbc073277
commit 6b8f7e3ecf

@ -421,7 +421,7 @@ public class GamePlayManager : MonoBehaviour
private IEnumerator ShowingGameOver(float delay) private IEnumerator ShowingGameOver(float delay)
{ {
PlayFabManager.Instance.playFabLeaderboards.UpdateLevelsCompleted(GameManager.CurrentLevelNo * GameManager.CurrentLevelGroupIndex); PlayFabManager.Instance.playFabLeaderboards.UpdateLevelsCompleted(GameManager.CurrentLevelNo * (GameManager.CurrentLevelGroupIndex + 1));
MessagePopup.instance.HideAll(); MessagePopup.instance.HideAll();
yield return new WaitForSeconds(delay); yield return new WaitForSeconds(delay);
LevelCompleteText.text = "Level " + GameManager.CurrentLevelNo + " Completed!"; LevelCompleteText.text = "Level " + GameManager.CurrentLevelNo + " Completed!";

Loading…
Cancel
Save