void AdAvailableHandler(enumAdType adType)
{
txtStatus1.text = adType.ToString() + " available";
if (adType == enumAdType.RewardVideo)
{
Spil.Instance.PlayVideo();
}
else if (adType == enumAdType.MoreApps)
{
Spil.Instance.PlayMoreApps();
}
// Interstitials aren't played on command but are automatically played by the SpilSDK
// when certain events are fired such as "levelComplete" or "playerDies".
// Which events trigger interstitials is configured by Spil.
// Interstitials do trigger OnAdStarted and OnAdFinished events when they play.
}