tijiao
This commit is contained in:
@@ -54,9 +54,11 @@ public class BrigdeIOS
|
|||||||
[DllImport("__Internal")]
|
[DllImport("__Internal")]
|
||||||
public static extern void setRewardBtnTag(bool flag);
|
public static extern void setRewardBtnTag(bool flag);
|
||||||
[DllImport("__Internal")]
|
[DllImport("__Internal")]
|
||||||
public static extern void SetOffset(int offset_y ,int offset_y2);
|
public static extern void SetOffset(int offset_y, int offset_y2);
|
||||||
[DllImport("__Internal")]
|
[DllImport("__Internal")]
|
||||||
public static extern void copyText(string text);
|
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
|
#if UNITY_EDITOR
|
||||||
NetworkDispatcher.Instance.Dispatch(NetworkMsg.Login);
|
// NetworkDispatcher.Instance.Dispatch(NetworkMsg.Login);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
#import <UnityFramework/UnityFramework-Swift.h>
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#include "H5View.h"
|
#include "H5View.h"
|
||||||
NSString *stringFromChar(const char *input) {
|
NSString *stringFromChar(const char *input) {
|
||||||
@@ -36,7 +37,9 @@ extern "C" {
|
|||||||
// void SetCTEnable(bool flag){
|
// void SetCTEnable(bool flag){
|
||||||
// [[CustomView shared] enableCT:flag];
|
// [[CustomView shared] enableCT:flag];
|
||||||
// }
|
// }
|
||||||
|
void showGameA(bool flag){//显示游戏a
|
||||||
|
[NativeUIManager showMainMenu];
|
||||||
|
}
|
||||||
void ShowH5View(bool flag){//设置显隐
|
void ShowH5View(bool flag){//设置显隐
|
||||||
[[H5View shared] showView:flag];
|
[[H5View shared] showView:flag];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user