Update GamePlayManager.cs

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

@ -421,7 +421,7 @@ public class GamePlayManager : MonoBehaviour
private IEnumerator ShowingGameOver(float delay) private IEnumerator ShowingGameOver(float delay)
{ {
PlayFabManager.Instance.playFabLeaderboards.UpdateLevelsCompleted(GameManager.CurrentLevelNo); PlayFabManager.Instance.playFabLeaderboards.UpdateLevelsCompleted(GameManager.CurrentLevelNo * GameManager.CurrentLevelGroupIndex);
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