fix:1、添加多语言的json文件,修复bug
This commit is contained in:
@@ -9,6 +9,9 @@ namespace RedHotRoast
|
||||
{
|
||||
public class MaxADKit
|
||||
{
|
||||
|
||||
public static bool IsOpenAd = false;
|
||||
|
||||
public static void Init()
|
||||
{
|
||||
|
||||
@@ -76,6 +79,13 @@ namespace RedHotRoast
|
||||
{
|
||||
onVideoAdCompleted = onCompleted;
|
||||
_placement = placement;
|
||||
|
||||
if (IsOpenAd)
|
||||
{
|
||||
onVideoAdCompleted?.Invoke(true);
|
||||
return;
|
||||
}
|
||||
|
||||
#if UNITY_EDITOR
|
||||
onVideoAdCompleted?.Invoke(true);
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user