【AD】关闭unityAds
parent
708c478b32
commit
eabe8a9b75
|
@ -166,6 +166,7 @@ namespace Gameplay.Manager
|
|||
{
|
||||
try
|
||||
{
|
||||
if (_adSdkNames is not { Count: > 0 } && _adHelpers is not { Count: > 0 }) return false;
|
||||
_currentAdIndex = _currentAdIndex >= _adHelpers.Count ? 0 : _currentAdIndex;
|
||||
var helperKey = _adSdkNames[_currentAdIndex];
|
||||
if (!_adHelpers.TryGetValue(helperKey, out var curADHelper))
|
||||
|
|
|
@ -819,7 +819,7 @@ PlayerSettings:
|
|||
Android: ODIN_INSPECTOR;ODIN_INSPECTOR_3;ODIN_INSPECTOR_3_1;ODIN_VALIDATOR;ODIN_VALIDATOR_3_1;SDK_FIREBASE;USE_ADDRESSABLES;SDK_ADMOD;SDK_UNITYADS
|
||||
Standalone: ODIN_INSPECTOR;ODIN_INSPECTOR_3;ODIN_INSPECTOR_3_1;ODIN_VALIDATOR;ODIN_VALIDATOR_3_1;USE_ADDRESSABLES;SDK_FIREBASE;SDK_ADMOD;SDK_UNITYADS
|
||||
WebGL: ODIN_VALIDATOR;ODIN_VALIDATOR_3_1;ODIN_INSPECTOR;ODIN_INSPECTOR_3;ODIN_INSPECTOR_3_1
|
||||
iPhone: ODIN_VALIDATOR;ODIN_VALIDATOR_3_1;ODIN_INSPECTOR;ODIN_INSPECTOR_3;ODIN_INSPECTOR_3_1;SDK_FIREBASE;USE_ADDRESSABLES;SDK_ADMOD;SDK_UNITYADS
|
||||
iPhone: ODIN_VALIDATOR;ODIN_VALIDATOR_3_1;ODIN_INSPECTOR;ODIN_INSPECTOR_3;ODIN_INSPECTOR_3_1;SDK_FIREBASE;USE_ADDRESSABLES;SDK_ADMOD
|
||||
additionalCompilerArguments: {}
|
||||
platformArchitecture: {}
|
||||
scriptingBackend:
|
||||
|
|
Loading…
Reference in New Issue