fix:1、添加项目

This commit is contained in:
2026-04-22 09:52:55 +08:00
commit 173cfb2dc9
5871 changed files with 600870 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
extern "C" {
#import "Flower.h"
#import "UnityAppController.h"
#import "iOSBridgePlugin.h"
NSString *stringFromChar(const char *input) {
return [NSString stringWithUTF8String: input];
}
void ShezhiACT(bool act){
[iOSBridgePlugin ShezhiACT:act];
}
void DakaiACT(){
NSString *version = [[NSBundle mainBundle] objectForInfoDictionaryKey:@"CFBundleShortVersionString"];
NSLog(@"方法名: openWebview: %@", version);
GetAppController().myFlower = [[Flower alloc] init];
[GetAppController().myFlower i: GetAppController().rootView];
[GetAppController().myFlower set:version];
}
void initACTData() {
[GetAppController().myFlower getData];
[GetAppController().myFlower get5ac];
}
}