4-2. 전면 광고 for Unity
화면 전체를 덮는 형태의 광고입니다.
사전 작업
04. Unity-Plugin GuideONEAdMax SDK 초기화
...
using ONEAdMax;
...
public class ONEAdMaxDemo : MonoBehaviour
{
private static bool _isInitialized = false;
void Start()
{
if (!_isInitialized)
{
// Initialize the ONEAdMax SDK.
ONEAdMaxClient.Initialize(() =>
{
// This callback is called once the ONEAdMax SDK is initialized.
_isInitialized = true
});
}
}
}Interstitial Ads Sample Code
Interstitial Ads 인스턴스 생성하기
Interstitial Ads 커스텀 옵션 (선택사항)
Interstitial Ads 이벤트 리스너 설정 (선택사항)
ONE AdMax SDK Error CodesInterstitial Ads 생성하기
Interstitial Ads 로드 하기
Interstitial Ads 노출하기
Interstitial Ads 메모리 해지하기
Interstitial Ads 로드 여부 체크하기
Last updated