- Home /
Chartboost not working! Please help!
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);
}
}
}
Please help me !
untitled.png
(472.1 kB)
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612132412im_/https://answers.unity.com/themes/thub/images/avi.jpg)