2017. 11. 28. 19:54
1. 오른쪽 상단 서비스 On클릭
2. 하단에 광고설정
3. 스크립트 설정
4. 스크립트 작성
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Advertisements;
public class AdMgr : MonoBehaviour {
public void OnShowAD()
{
if (Advertisement.IsReady ()) {
Advertisement.Show ();
}
}
}
5. 광고설정 확인
아래 화면처럼 나오면 광고설정완료
'기타' 카테고리의 다른 글
git remote 확인 (0) | 2018.01.09 |
---|---|
2017 티스토리 결산 (0) | 2018.01.09 |
adb설치 (0) | 2017.11.24 |
삼성 Gear VR 후기 (0) | 2017.11.24 |
윈도우에 Jupyter Docker설치 (0) | 2017.11.22 |