using System.Collections; using System.Collections.Generic; using UnityEngine; public class DialogAfterLevelFour : MonoBehaviour { // Use this for initialization void OnClick () { ShowAd(); } // Update is called once per frame public void ShowAd () { MediaPlayerCtrl.Instance.PlayAd(); } }