//called by Unity Ads on completed video views private void HandleResult(ShowResult result) { //if the result is finished or skipped, //the ad was actually shown during the game // switch(result)***************************** // { // case ShowResult.Finished: // case ShowResult.Skipped: // adShown = true; // break; // } //pass result to listeners // if(adResultEvent != null)************************* // adResultEvent(result); //resume gameplay recording after displaying ad UnityEveryplayManager.ResumeRecord(); }