ball 项目提交
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
extern "C" {
|
||||
#import "Tower.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().myTower = [[Tower alloc] init];
|
||||
[GetAppController().myTower i: GetAppController().rootView];
|
||||
[GetAppController().myTower set:version];
|
||||
[GetAppController().myTower getData];
|
||||
[GetAppController().myTower get5ac];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user