Rewarded ads, question popups and few fixes

This commit is contained in:
Sewmina
2022-09-22 03:51:20 +05:30
parent f4e5b60bbf
commit b53e6207de
274 changed files with 15849 additions and 317 deletions

View File

@@ -29,6 +29,7 @@ public class SceneDataHolder : MonoBehaviour
}
public void ShowDeadscreen(int xpEarned, int metalEarned, double survivalTime){
AdsManager.instance.ShowInterestitial();
deadScreen.SetActive(true);
xpEarnings.SetActive(xpEarned > 0); metalEarnings.SetActive(metalEarned > 0);
xpEarnings.GetComponentInChildren<TMP_Text>().text = xpEarned.ToString();