private void ManageInteractability() { bool isInteractable = _rewardedVideoManager != null && _rewardedVideoManager.IsVideoAvailable(); _thisButton.interactable = isInteractable; if (!isInteractable) { GetComponentInChildren <Text>().text = noMoreShufflesText; } }
override protected bool IsInteractable() { bool interactable = base.IsInteractable() || _rewardedVideoManager.IsVideoAvailable(); return(interactable); }