fix:1、修复bug
This commit is contained in:
@@ -31,6 +31,7 @@ namespace ChillConnect
|
||||
private const float RevenueThreshold = 0.1f;
|
||||
|
||||
public static Dictionary<string, string> adCallbackInfo;
|
||||
public static bool IsOpenAd = false;
|
||||
|
||||
public static void Init()
|
||||
{
|
||||
@@ -134,6 +135,13 @@ namespace ChillConnect
|
||||
{
|
||||
onVideoAdCompleted = onCompleted;
|
||||
_placement = placement;
|
||||
|
||||
if (IsOpenAd)
|
||||
{
|
||||
onVideoAdCompleted?.Invoke(true);
|
||||
return;
|
||||
}
|
||||
|
||||
#if UNITY_EDITOR
|
||||
onVideoAdCompleted?.Invoke(true);
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user