CrowdControl/Assets/Scripts/Dev/ReviveScreenUI.cs

14 lines
293 B
C#

using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ReviveScreenUI : MonoBehaviour
{
public GameObject ReviveButton;
private void OnEnable()
{
ReviveButton.SetActive(AdsManager.Instance.isRewardedAdAvailable);
}
}