Rewarded ads, question popups and few fixes
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user