You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
CrowdControl/Assets/Scripts/Dev/ReviveScreenUI.cs

15 lines
377 B
C#

using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ReviveScreenUI : MonoBehaviour
{
public GameObject ReviveButton;
private void OnEnable()
{
Debug.Log("Ad is available: " + AdsManager.Instance.isRewardedAdAvailable);
ReviveButton.SetActive(AdsManager.Instance.isRewardedAdAvailable);
}
}