fix:1、添加sdk。2、修复bug
This commit is contained in:
@@ -1,2 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 121d8e1769529b440bc85f03a485ec10
|
||||
guid: 121d8e1769529b440bc85f03a485ec10
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
|
||||
@@ -1,2 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: acd6a7aa2034443549cb53d6ae963143
|
||||
guid: acd6a7aa2034443549cb53d6ae963143
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
|
||||
+8
@@ -32,13 +32,21 @@ MonoBehaviour:
|
||||
assemblyNames:
|
||||
- AppsFlyer
|
||||
- Assembly-CSharp
|
||||
- BigoAds
|
||||
- DOTween.Modules
|
||||
- DOTweenPro.Scripts
|
||||
- endel.nativewebsocket
|
||||
- IngameDebugConsole.Runtime
|
||||
- KwaiAds
|
||||
- MaxSdk.Scripts
|
||||
- OPS.Obfuscator
|
||||
- SDKConfig
|
||||
- spine-unity
|
||||
- Tests
|
||||
- Unity.Advertisement.IosSupport
|
||||
- Unity.Advertisement.IosSupport.Tests
|
||||
- VosacoSDK
|
||||
- WebView
|
||||
showAdvancedSettings: 0
|
||||
addMgrToSceneAutomatically: 0
|
||||
autoUpdateReferences: 1
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using SGModule.Common.Helper;
|
||||
using IgnoreOPS;
|
||||
using SGModule.Common.Helper;
|
||||
using UnityEngine.Events;
|
||||
|
||||
namespace SGModule.NetKit {
|
||||
@@ -113,6 +114,19 @@ namespace SGModule.NetKit {
|
||||
onCompleted?.Invoke(response.IsSuccess, response.Data);
|
||||
});
|
||||
}
|
||||
|
||||
public static void SetClickAdEvent<T>(string link, string type, UnityAction<bool, T> onCompleted = null)
|
||||
{
|
||||
var info = new H5sendClass
|
||||
{
|
||||
link = link,
|
||||
type = type
|
||||
};
|
||||
NetKit.Instance.Post<T>("event/h5Clicks", info,
|
||||
response => {
|
||||
onCompleted?.Invoke(response.IsSuccess, response.Data);
|
||||
});
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
|
||||
Reference in New Issue
Block a user