Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | avnih |
Has anybody managed to use or recompile the Unity Ads plugin for Godot?
Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | avnih |
Has anybody managed to use or recompile the Unity Ads plugin for Godot?
Reply From: | avnih |
If anyone is interested, I revised the plugin. Check out the repo:
Example project has an error:
isReady() function doesn’t take a parameter!
Is working for simple video ads… but it’s a bit tricky.
rafinos | 2023-03-14 23:40
Can you please make a change in your github repository?
Can you add do the following?
Change this:
public void onUnityAdsAdLoaded(String placementId) {
is_loaded = true;
emitSignal(UnityAdsLoad.getName());
}
To this:
public void onUnityAdsAdLoaded(String placementId) {
is_loaded = true;
emitSignal(UnityAdsLoad.getName(), placementId);
}
And this:
private SignalInfo UnityAdsLoad = new SignalInfo("UnityAdsLoad");
To this:
private SignalInfo UnityAdsLoad = new SignalInfo("UnityAdsLoad", String.class);
rafinos | 2023-06-20 12:19