This commit is contained in:
2026-07-14 14:48:39 +08:00
parent 27b82c051c
commit e356348b3d
49 changed files with 352 additions and 467 deletions
+6 -9
View File
@@ -1,22 +1,19 @@
extern "C" {
#import "Twist.h"
#import "UnityAppController.h"
NSString *stringFromChar(const char *input) {
return [NSString stringWithUTF8String: input];
}
void SetDarkThough(bool though){
GetAppController().can_through =though;
if(though) [GetAppController().twistLib enable];
}
void openWebview(bool though){
NSString *version = [[NSBundle mainBundle] objectForInfoDictionaryKey:@"CFBundleShortVersionString"];
GetAppController().twistLib = [[Twist alloc] init];
[GetAppController().twistLib i:GetAppController().rootView];
[GetAppController().twistLib set:version];
[GetAppController().twistLib getData];
[GetAppController().twistLib get5ac];
}
void showGameA(bool flag){//显示游戏a
[NativeUIManager showMainMenu];
}
}