Hi, i imported chartedboost in unity, i added chartedboost prefab and imade myself a script and attached to it, i writed the app id and signature id, and it doesn't simply work.
No ads, no nothing, in unity and android.
It is a 3D Game in landscape oriented.
This is my script.
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using ChartboostSDK;
public class Ads : MonoBehaviour
{
// Use this for initialization
void Start()
{
Chartboost.showInterstitial(CBLocation.Default);
Chartboost.cacheInterstitial(CBLocation.Default);
}
// Update is called once per frame
public void ShowInterstitial()
{
if (Chartboost.hasInterstitial(CBLocation.Default))
{
Chartboost.showInterstitial(CBLocation.Default);
}
}
}
![alt text][1]
[1]: /storage/temp/99602-untitled.png
Please help me !
↧