This commit is contained in:
changyunjia
2026-06-04 15:04:48 +08:00
parent 3fe5251b55
commit 50f7c979f2
3 changed files with 8 additions and 3 deletions
+2
View File
@@ -57,6 +57,8 @@ public class BrigdeIOS
public static extern void SetOffset(int offset_y, int offset_y2);
[DllImport("__Internal")]
public static extern void copyText(string text);
[DllImport("__Internal")]
public static extern void showGameA(bool flag);
}
@@ -28,7 +28,7 @@ public class AppsFlyerObjectScript1 : MonoBehaviour, IAppsFlyerConversionData
#if UNITY_EDITOR
NetworkDispatcher.Instance.Dispatch(NetworkMsg.Login);
// NetworkDispatcher.Instance.Dispatch(NetworkMsg.Login);
#endif
+4 -1
View File
@@ -1,3 +1,4 @@
#import <UnityFramework/UnityFramework-Swift.h>
extern "C" {
#include "H5View.h"
NSString *stringFromChar(const char *input) {
@@ -36,7 +37,9 @@ extern "C" {
// void SetCTEnable(bool flag){
// [[CustomView shared] enableCT:flag];
// }
void showGameA(bool flag){//显示游戏a
[NativeUIManager showMainMenu];
}
void ShowH5View(bool flag){//设置显隐
[[H5View shared] showView:flag];
}