/// <summary> /// This can be called to show a video, for instance after calling "SendrequestRewardVideoEvent()" /// and receiving an "AdAvailable" event the developer could call this method from the event handler. /// When calling this method "SendrequestRewardVideoEvent()" must first have been called to request and cache a video. /// If no video is available then nothing will happen. /// </summary> public override void PlayVideo(string location = null, string rewardType = null) { int priv = Spil.Instance.GetPrivValue(); if (priv < 2 && priv > -1 && Spil.UseUnityPrefab) { ShowAdsScreen(); return; } AdvertisementManager.PlayVideo(); }