DialogAfterLevelFour.cs 320 B

1234567891011121314151617
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. public class DialogAfterLevelFour : MonoBehaviour {
  5. // Use this for initialization
  6. void OnClick ()
  7. {
  8. ShowAd();
  9. }
  10. // Update is called once per frame
  11. public void ShowAd () {
  12. MediaPlayerCtrl.Instance.PlayAd();
  13. }
  14. }