fix:1、添加sdk。2、修复bug

This commit is contained in:
barry
2026-06-11 18:30:41 +08:00
parent fcf9128dd3
commit 570f4635f2
1240 changed files with 111200 additions and 39704 deletions
@@ -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:
@@ -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