fix:1、删除上一个sdk,更换新的。2、删除了max广告
This commit is contained in:
+115
@@ -0,0 +1,115 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using BigoAds.Scripts.Api.Constant;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace BigoAds.Scripts.Api
|
||||
{
|
||||
public class BigoAdConfig
|
||||
{
|
||||
public const string EXTRA_KEY_HOST_RULES = "host_rules";
|
||||
|
||||
/// <summary>
|
||||
/// the unique identifier of the App
|
||||
/// </summary>
|
||||
internal string AppId { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Custom set the debugLog to print debug Log.
|
||||
/// debugLog NO: close debug log, YES: open debug log.
|
||||
/// </summary>
|
||||
internal bool DebugLog { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Channels for publishing media applications
|
||||
/// </summary>
|
||||
internal string Channel { get; }
|
||||
|
||||
internal int Age { get; }
|
||||
|
||||
internal int Gender { get; }
|
||||
|
||||
internal long ActivatedTime { get; }
|
||||
|
||||
internal Dictionary<string, string> ExtraDictionary { get; }
|
||||
|
||||
private BigoAdConfig(BigoAdConfig.Builder builder)
|
||||
{
|
||||
AppId = builder.AppId;
|
||||
DebugLog = builder.DebugLog;
|
||||
Channel = builder.Channel;
|
||||
Age = builder.Age;
|
||||
Gender = (int)builder.Gender;
|
||||
ActivatedTime = builder.ActivatedTime;
|
||||
ExtraDictionary = builder.ExtraDictionary;
|
||||
}
|
||||
|
||||
public class Builder
|
||||
{
|
||||
internal string AppId;
|
||||
|
||||
internal bool DebugLog;
|
||||
|
||||
internal string Channel;
|
||||
|
||||
internal int Age;
|
||||
|
||||
internal BGAdGender Gender;
|
||||
|
||||
internal long ActivatedTime;
|
||||
|
||||
internal Dictionary<string, string> ExtraDictionary = new Dictionary<string, string>();
|
||||
|
||||
public Builder SetAppId(string appid)
|
||||
{
|
||||
this.AppId = appid;
|
||||
return this;
|
||||
}
|
||||
|
||||
public Builder SetDebugLog(bool debugLog)
|
||||
{
|
||||
this.DebugLog = debugLog;
|
||||
return this;
|
||||
}
|
||||
|
||||
public Builder SetChannel(string channel)
|
||||
{
|
||||
this.Channel = channel;
|
||||
return this;
|
||||
}
|
||||
|
||||
public Builder SetAge(int age)
|
||||
{
|
||||
this.Age = age;
|
||||
return this;
|
||||
}
|
||||
|
||||
public Builder SetGender(BGAdGender gender)
|
||||
{
|
||||
this.Gender = gender;
|
||||
return this;
|
||||
}
|
||||
|
||||
public Builder SetActivatedTime(long activatedTime)
|
||||
{
|
||||
this.ActivatedTime = activatedTime;
|
||||
return this;
|
||||
}
|
||||
|
||||
///Only works on Android
|
||||
public Builder SetExtra(string key, string extra)
|
||||
{
|
||||
if (key != null && extra != null)
|
||||
{
|
||||
this.ExtraDictionary.Add(key, extra);
|
||||
}
|
||||
return this;
|
||||
}
|
||||
|
||||
public BigoAdConfig Build()
|
||||
{
|
||||
return new BigoAdConfig(this);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: b18497a84c58a49f385b63be54aff0cb
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,106 @@
|
||||
using BigoAds.Scripts.Common;
|
||||
using BigoAds.Scripts.Api.Constant;
|
||||
|
||||
namespace BigoAds.Scripts.Api
|
||||
{
|
||||
public static class BigoAdSdk
|
||||
{
|
||||
private static IClientFactory _clientFactory;
|
||||
|
||||
private static ISDK _sdk;
|
||||
|
||||
internal static ISDK SDK
|
||||
{
|
||||
get
|
||||
{
|
||||
if (_sdk == null)
|
||||
{
|
||||
_sdk = GetClientFactory().BuildSDKClient();
|
||||
}
|
||||
|
||||
return _sdk;
|
||||
}
|
||||
}
|
||||
|
||||
internal static IClientFactory GetClientFactory()
|
||||
{
|
||||
if (_clientFactory != null)
|
||||
{
|
||||
return _clientFactory;
|
||||
}
|
||||
|
||||
_clientFactory =
|
||||
#if UNITY_ANDROID
|
||||
new BigoAds.Scripts.Platforms.Android.AndroidClientFactory();
|
||||
#elif UNITY_IOS
|
||||
new BigoAds.Scripts.Platforms.iOS.IOSClientFactory();
|
||||
#else
|
||||
null;
|
||||
throw new PlatformNotSupportedException();
|
||||
#endif
|
||||
return _clientFactory;
|
||||
}
|
||||
|
||||
public delegate void InitResultDelegate();
|
||||
|
||||
public static event InitResultDelegate OnInitFinish;
|
||||
|
||||
/// Starts the Bigo SDK
|
||||
/// @warning Call this method as early as possible to reduce ad request fail.
|
||||
/// @param config SDK configuration
|
||||
/// @param callback Callback for starting the Bigo SDK
|
||||
/// ////
|
||||
public static void Initialize(BigoAdConfig config)
|
||||
{
|
||||
if (IsInitSuccess())
|
||||
{
|
||||
OnInitFinish?.Invoke();
|
||||
return;
|
||||
}
|
||||
|
||||
SDK.Init(config, (() => { OnInitFinish?.Invoke(); }));
|
||||
}
|
||||
|
||||
////
|
||||
/// The SDK initialization state
|
||||
////
|
||||
public static bool IsInitSuccess()
|
||||
{
|
||||
return SDK.IsInitSuccess();
|
||||
}
|
||||
|
||||
///////
|
||||
/// Bigo SDK version
|
||||
/// ////
|
||||
public static string GetSDKVersion()
|
||||
{
|
||||
return SDK.GetSDKVersion();
|
||||
}
|
||||
|
||||
///////
|
||||
/// Bigo SDK version name
|
||||
/// ////
|
||||
public static string GetSDKVersionName()
|
||||
{
|
||||
return SDK.GetSDKVersionName();
|
||||
}
|
||||
|
||||
///////
|
||||
/// Bigo SDK set user consent
|
||||
/// ////
|
||||
public static void SetUserConsent(ConsentOptions option, bool consent)
|
||||
{
|
||||
SDK.SetUserConsent(option, consent);
|
||||
}
|
||||
|
||||
///////
|
||||
/// Only works on Android
|
||||
/// Bigo SDK set user consent
|
||||
/// ////
|
||||
public static void AddExtraHost(string country, string host)
|
||||
{
|
||||
SDK.AddExtraHost(country, host);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: e5ad9c8c265954d4e8f4f03312b5fa42
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,30 @@
|
||||
using BigoAds.Scripts.Api.Constant;
|
||||
using BigoAds.Scripts.Common;
|
||||
using UnityEngine;
|
||||
|
||||
namespace BigoAds.Scripts.Api
|
||||
{
|
||||
public class BigoBannerAd : BigoBaseAd<BigoBannerRequest>
|
||||
{
|
||||
private readonly IBannerAd _bannerAdClient;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// create a banner ad
|
||||
/// </summary>
|
||||
/// <param name="slotId"></param>
|
||||
public BigoBannerAd(string slotId) : base(slotId, BigoAdSdk.GetClientFactory().BuildBannerAdClient())
|
||||
{
|
||||
_bannerAdClient = (IBannerAd) ADClient;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// set position for banner
|
||||
/// </summary>
|
||||
/// <param name="position"></param>
|
||||
public void SetPosition(BigoPosition position)
|
||||
{
|
||||
_bannerAdClient?.SetPosition(position);
|
||||
}
|
||||
}
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 5136d466cbb6c461f92fbd90b6fa157d
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
+22
@@ -0,0 +1,22 @@
|
||||
using System;
|
||||
using BigoAds.Scripts.Api.Constant;
|
||||
using UnityEngine;
|
||||
|
||||
namespace BigoAds.Scripts.Api
|
||||
{
|
||||
[Serializable]
|
||||
public class BigoBannerRequest : BigoRequest
|
||||
{
|
||||
[SerializeField()]
|
||||
private BigoBannerSize size;
|
||||
public BigoBannerSize Size => size;
|
||||
|
||||
public BigoPosition Position { get; }
|
||||
|
||||
public BigoBannerRequest(BigoBannerSize size, BigoPosition position = BigoPosition.Bottom)
|
||||
{
|
||||
this.size = size;
|
||||
this.Position = position;
|
||||
}
|
||||
}
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 159c6164853954739adbca1ae7592df7
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
using BigoAds.Scripts.Common;
|
||||
|
||||
namespace BigoAds.Scripts.Api
|
||||
{
|
||||
public class BigoInterstitialAd : BigoBaseAd<BigoInterstitialRequest>
|
||||
{
|
||||
public BigoInterstitialAd(string slotId) : base(slotId, BigoAdSdk.GetClientFactory().BuildInterstitialAdClient())
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 1323eae1e03094d8281b23f5527a53db
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
using System;
|
||||
|
||||
namespace BigoAds.Scripts.Api
|
||||
{
|
||||
[Serializable]
|
||||
|
||||
public class BigoInterstitialRequest : BigoRequest
|
||||
{
|
||||
}
|
||||
}
|
||||
Vendored
+11
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 1947fd630823b4858af6c3a471497f70
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,26 @@
|
||||
using BigoAds.Scripts.Api.Constant;
|
||||
using BigoAds.Scripts.Common;
|
||||
using UnityEngine;
|
||||
|
||||
namespace BigoAds.Scripts.Api
|
||||
{
|
||||
public class BigoNativeAd : BigoBaseAd<BigoNativeRequest>
|
||||
{
|
||||
private readonly INativeAd _NativeAdClient;
|
||||
|
||||
public BigoNativeAd(string slotId) : base(slotId, BigoAdSdk.GetClientFactory().BuildNativeAdClient())
|
||||
{
|
||||
_NativeAdClient = (INativeAd) ADClient;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// set position for native
|
||||
/// </summary>
|
||||
/// <param name="position"></param>
|
||||
public void SetPosition(BigoPosition position)
|
||||
{
|
||||
_NativeAdClient?.SetPosition(position);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 1742d1ee2ff5e4d508ae81524cb94ade
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
using System;
|
||||
|
||||
namespace BigoAds.Scripts.Api
|
||||
{
|
||||
[Serializable]
|
||||
public class BigoNativeRequest : BigoRequest
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 033c30386f5714bddb5dd41d7524979e
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,11 @@
|
||||
using BigoAds.Scripts.Common;
|
||||
|
||||
namespace BigoAds.Scripts.Api
|
||||
{
|
||||
public class BigoPopupAd : BigoBaseAd<BigoPopupRequest>
|
||||
{
|
||||
public BigoPopupAd(string slotId) : base(slotId, BigoAdSdk.GetClientFactory().BuildPopupAdClient())
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 2be0a8fe9e5aa4bea8970a47e617a076
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
using System;
|
||||
|
||||
namespace BigoAds.Scripts.Api
|
||||
{
|
||||
[Serializable]
|
||||
|
||||
public class BigoPopupRequest : BigoRequest
|
||||
{
|
||||
}
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 580aad20fbde543bab37a5e878c682cb
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,47 @@
|
||||
using System;
|
||||
using UnityEngine;
|
||||
using BigoAds.Scripts.Api.Constant;
|
||||
|
||||
namespace BigoAds.Scripts.Api
|
||||
{
|
||||
[Serializable]
|
||||
public class BigoRequest
|
||||
{
|
||||
[SerializeField] private string extraInfo;
|
||||
[SerializeField] private int age;
|
||||
[SerializeField] private BGAdGender gender;
|
||||
[SerializeField] private long activatedTime;
|
||||
|
||||
public string ExtraInfoJson
|
||||
{
|
||||
get => extraInfo;
|
||||
set => extraInfo = value;
|
||||
}
|
||||
|
||||
/// Only works on Android
|
||||
public int Age
|
||||
{
|
||||
get => age;
|
||||
set => age = value;
|
||||
}
|
||||
|
||||
/// Only works on Android
|
||||
public BGAdGender Gender
|
||||
{
|
||||
get => gender;
|
||||
set => gender = value;
|
||||
}
|
||||
|
||||
/// Only works on Android
|
||||
public long ActivatedTime
|
||||
{
|
||||
get => activatedTime;
|
||||
set => activatedTime = value;
|
||||
}
|
||||
|
||||
public string ToJson()
|
||||
{
|
||||
return JsonUtility.ToJson(this);
|
||||
}
|
||||
}
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 2707ffe474e6443d6a5260876d5b1370
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
+29
@@ -0,0 +1,29 @@
|
||||
using System;
|
||||
using BigoAds.Scripts.Common;
|
||||
|
||||
namespace BigoAds.Scripts.Api
|
||||
{
|
||||
public class BigoRewardedAd : BigoBaseAd<BigoRewardedRequest>
|
||||
{
|
||||
public event Action OnUserEarnedReward;
|
||||
|
||||
public BigoRewardedAd(string slotId) : base(slotId, BigoAdSdk.GetClientFactory().BuildRewardedAdClient())
|
||||
{
|
||||
var rewardedAdClient = (IRewardedAd) ADClient;
|
||||
rewardedAdClient.OnUserEarnedReward += InvokeOnUserEarnedReward;
|
||||
}
|
||||
|
||||
|
||||
private void InvokeOnUserEarnedReward()
|
||||
{
|
||||
if (CallbackOnMainThread)
|
||||
{
|
||||
BigoDispatcher.PostTask((() => { OnUserEarnedReward?.Invoke(); }));
|
||||
}
|
||||
else
|
||||
{
|
||||
OnUserEarnedReward?.Invoke();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 2f745c8797b25430685a5a08b34f0d9f
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
using System;
|
||||
|
||||
namespace BigoAds.Scripts.Api
|
||||
{
|
||||
[Serializable]
|
||||
|
||||
public class BigoRewardedRequest : BigoRequest
|
||||
{
|
||||
}
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 38f4a763a1fc9429ca87c62eed4b4645
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,11 @@
|
||||
using BigoAds.Scripts.Common;
|
||||
|
||||
namespace BigoAds.Scripts.Api
|
||||
{
|
||||
public class BigoSplashAd : BigoBaseAd<BigoSplashRequest>
|
||||
{
|
||||
public BigoSplashAd(string slotId) : base(slotId, BigoAdSdk.GetClientFactory().BuildSplashAdClient())
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 61b62ca232d2e42788e61f33d7784209
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
using System;
|
||||
|
||||
namespace BigoAds.Scripts.Api
|
||||
{
|
||||
[Serializable]
|
||||
|
||||
public class BigoSplashRequest : BigoRequest
|
||||
{
|
||||
}
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: afdf808922a744419b5db1fdd4ca18b9
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 0762cd7e46c3c43e5a32b1558643eb74
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
using System;
|
||||
namespace BigoAds.Scripts.Api.Constant
|
||||
{
|
||||
[Serializable]
|
||||
public enum BGAdGender
|
||||
{
|
||||
Female = 1,
|
||||
Male = 2
|
||||
}
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 2784802c5b5b34470a0500118ccb7f55
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
using System;
|
||||
|
||||
namespace BigoAds.Scripts.Api.Constant
|
||||
{
|
||||
[Serializable]
|
||||
public enum BGAdLossReason
|
||||
{
|
||||
InternalError = 1,
|
||||
Timeout = 2,
|
||||
LowerThanFloorPrice = 100,
|
||||
LowerThanHighestPrice = 101
|
||||
}
|
||||
}
|
||||
Vendored
+11
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 303b2e25e09c44797a167b642310a319
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
+23
@@ -0,0 +1,23 @@
|
||||
using System;
|
||||
using UnityEngine;
|
||||
|
||||
namespace BigoAds.Scripts.Api.Constant
|
||||
{
|
||||
[Serializable]
|
||||
public struct BigoBannerSize
|
||||
{
|
||||
public static readonly BigoBannerSize BANNER_W_320_H_50 = new BigoBannerSize(320,50);
|
||||
public static readonly BigoBannerSize BANNER_W_300_H_250 = new BigoBannerSize(300,250);
|
||||
|
||||
[SerializeField] private int width;
|
||||
[SerializeField] private int height;
|
||||
public int Width => width;
|
||||
public int Height => height;
|
||||
|
||||
public BigoBannerSize(int width, int height)
|
||||
{
|
||||
this.width = width;
|
||||
this.height = height;
|
||||
}
|
||||
}
|
||||
}
|
||||
Vendored
+11
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 4a4411a50cfc94717b30325ceed3d52f
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
using System;
|
||||
|
||||
namespace BigoAds.Scripts.Api.Constant
|
||||
{
|
||||
[Serializable]
|
||||
public enum BigoPosition
|
||||
{
|
||||
Top = 0,
|
||||
Middle = 1,
|
||||
Bottom = 2
|
||||
}
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 6511065ffc7f44235bacb3ee16a87f5a
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
using System;
|
||||
|
||||
namespace BigoAds.Scripts.Api.Constant
|
||||
{
|
||||
[Serializable]
|
||||
public enum ConsentOptions
|
||||
{
|
||||
GDPR,
|
||||
CCPA,
|
||||
LGPD,
|
||||
COPPA
|
||||
}
|
||||
}
|
||||
Vendored
+11
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 7867ac15c426649a6aa633a772d54879
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Reference in New Issue
Block a user