Commit 5e50d4d6 authored by Mazy's avatar Mazy

change unity project

parent c9031a77
...@@ -7,8 +7,8 @@ ...@@ -7,8 +7,8 @@
objects = { objects = {
/* Begin PBXBuildFile section */ /* Begin PBXBuildFile section */
644C8E742542D24B0032763A /* UnityFramework.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 64E8CA062541318100AF1416 /* UnityFramework.framework */; }; 644C8E872542DEAA0032763A /* UnityFramework.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 64E8CA062541318100AF1416 /* UnityFramework.framework */; };
644C8E752542D24B0032763A /* UnityFramework.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 64E8CA062541318100AF1416 /* UnityFramework.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; 644C8E882542DEAA0032763A /* UnityFramework.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 64E8CA062541318100AF1416 /* UnityFramework.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
64E8CA10254132E300AF1416 /* BGKeychainTool.m in Sources */ = {isa = PBXBuildFile; fileRef = 64E8CA0F254132E300AF1416 /* BGKeychainTool.m */; }; 64E8CA10254132E300AF1416 /* BGKeychainTool.m in Sources */ = {isa = PBXBuildFile; fileRef = 64E8CA0F254132E300AF1416 /* BGKeychainTool.m */; };
64E8CA16254133CF00AF1416 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 64E8CA15254133CF00AF1416 /* Foundation.framework */; }; 64E8CA16254133CF00AF1416 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 64E8CA15254133CF00AF1416 /* Foundation.framework */; };
6E42AF336D54EF2C5073BB5C /* Pods_GYDemo.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 917ED4A8EF1F82D94F8A8E38 /* Pods_GYDemo.framework */; }; 6E42AF336D54EF2C5073BB5C /* Pods_GYDemo.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 917ED4A8EF1F82D94F8A8E38 /* Pods_GYDemo.framework */; };
...@@ -86,13 +86,13 @@ ...@@ -86,13 +86,13 @@
/* End PBXContainerItemProxy section */ /* End PBXContainerItemProxy section */
/* Begin PBXCopyFilesBuildPhase section */ /* Begin PBXCopyFilesBuildPhase section */
644C8E762542D24B0032763A /* Embed Frameworks */ = { 644C8E892542DEAA0032763A /* Embed Frameworks */ = {
isa = PBXCopyFilesBuildPhase; isa = PBXCopyFilesBuildPhase;
buildActionMask = 2147483647; buildActionMask = 2147483647;
dstPath = ""; dstPath = "";
dstSubfolderSpec = 10; dstSubfolderSpec = 10;
files = ( files = (
644C8E752542D24B0032763A /* UnityFramework.framework in Embed Frameworks */, 644C8E882542DEAA0032763A /* UnityFramework.framework in Embed Frameworks */,
); );
name = "Embed Frameworks"; name = "Embed Frameworks";
runOnlyForDeploymentPostprocessing = 0; runOnlyForDeploymentPostprocessing = 0;
...@@ -212,7 +212,7 @@ ...@@ -212,7 +212,7 @@
files = ( files = (
6E42AF336D54EF2C5073BB5C /* Pods_GYDemo.framework in Frameworks */, 6E42AF336D54EF2C5073BB5C /* Pods_GYDemo.framework in Frameworks */,
64E8CA16254133CF00AF1416 /* Foundation.framework in Frameworks */, 64E8CA16254133CF00AF1416 /* Foundation.framework in Frameworks */,
644C8E742542D24B0032763A /* UnityFramework.framework in Frameworks */, 644C8E872542DEAA0032763A /* UnityFramework.framework in Frameworks */,
); );
runOnlyForDeploymentPostprocessing = 0; runOnlyForDeploymentPostprocessing = 0;
}; };
...@@ -498,7 +498,7 @@ ...@@ -498,7 +498,7 @@
A91A7871253EE56B00F9B216 /* Frameworks */, A91A7871253EE56B00F9B216 /* Frameworks */,
A91A7872253EE56B00F9B216 /* Resources */, A91A7872253EE56B00F9B216 /* Resources */,
1A6A7A7F158855E12111551D /* [CP] Embed Pods Frameworks */, 1A6A7A7F158855E12111551D /* [CP] Embed Pods Frameworks */,
644C8E762542D24B0032763A /* Embed Frameworks */, 644C8E892542DEAA0032763A /* Embed Frameworks */,
); );
buildRules = ( buildRules = (
); );
...@@ -900,7 +900,7 @@ ...@@ -900,7 +900,7 @@
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
CODE_SIGN_IDENTITY = "iPhone Developer"; CODE_SIGN_IDENTITY = "iPhone Developer";
CODE_SIGN_STYLE = Manual; CODE_SIGN_STYLE = Manual;
CURRENT_PROJECT_VERSION = 100; CURRENT_PROJECT_VERSION = 102;
DEVELOPMENT_TEAM = XWMRLLSSFL; DEVELOPMENT_TEAM = XWMRLLSSFL;
GCC_INCREASE_PRECOMPILED_HEADER_SHARING = NO; GCC_INCREASE_PRECOMPILED_HEADER_SHARING = NO;
GCC_PREFIX_HEADER = "$(SRCROOT)/GYDemo/GYPrefixHeader.pch"; GCC_PREFIX_HEADER = "$(SRCROOT)/GYDemo/GYPrefixHeader.pch";
...@@ -926,7 +926,7 @@ ...@@ -926,7 +926,7 @@
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
CODE_SIGN_IDENTITY = "iPhone Developer"; CODE_SIGN_IDENTITY = "iPhone Developer";
CODE_SIGN_STYLE = Manual; CODE_SIGN_STYLE = Manual;
CURRENT_PROJECT_VERSION = 100; CURRENT_PROJECT_VERSION = 102;
DEVELOPMENT_TEAM = XWMRLLSSFL; DEVELOPMENT_TEAM = XWMRLLSSFL;
GCC_INCREASE_PRECOMPILED_HEADER_SHARING = NO; GCC_INCREASE_PRECOMPILED_HEADER_SHARING = NO;
GCC_PREFIX_HEADER = "$(SRCROOT)/GYDemo/GYPrefixHeader.pch"; GCC_PREFIX_HEADER = "$(SRCROOT)/GYDemo/GYPrefixHeader.pch";
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
<key>GYDemo.xcscheme_^#shared#^_</key> <key>GYDemo.xcscheme_^#shared#^_</key>
<dict> <dict>
<key>orderHint</key> <key>orderHint</key>
<integer>6</integer> <integer>5</integer>
</dict> </dict>
</dict> </dict>
</dict> </dict>
......
...@@ -94,6 +94,7 @@ NSDictionary* appLaunchOpts; ...@@ -94,6 +94,7 @@ NSDictionary* appLaunchOpts;
// 跳转每日福利 // 跳转每日福利
- (void)ios_oneveryDayWelfareClick { - (void)ios_oneveryDayWelfareClick {
return;
GYWebViewController * web = [[GYWebViewController alloc] init]; GYWebViewController * web = [[GYWebViewController alloc] init];
web.url = [[CGUserManager shared].h5_url objectForKey:@"welfareurl"]; web.url = [[CGUserManager shared].h5_url objectForKey:@"welfareurl"];
UINavigationController * nav = [[UINavigationController alloc] initWithRootViewController:web]; UINavigationController * nav = [[UINavigationController alloc] initWithRootViewController:web];
...@@ -112,6 +113,13 @@ NSDictionary* appLaunchOpts; ...@@ -112,6 +113,13 @@ NSDictionary* appLaunchOpts;
// 跳转订单弹窗 // 跳转订单弹窗
- (void)ios_jumpOrderDialog { - (void)ios_jumpOrderDialog {
NSString *status = [[CGUserManager shared].appSwitch[@"isopenH5"] stringValue];
NSLog(@"isopenH5 = %@", status);
if ([status isEqualToString:@"0"]) {
return;
}
[[CGNetworkTools shared] getWithAction:getOrderInfo parameters:@{} success:^(id _Nonnull response) { [[CGNetworkTools shared] getWithAction:getOrderInfo parameters:@{} success:^(id _Nonnull response) {
NSDictionary * orderDic = [[response objectForKey:@"result"] objectForKey:@"data"]; NSDictionary * orderDic = [[response objectForKey:@"result"] objectForKey:@"data"];
...@@ -262,6 +270,13 @@ NSDictionary* appLaunchOpts; ...@@ -262,6 +270,13 @@ NSDictionary* appLaunchOpts;
// 获取地块列表 // 获取地块列表
- (void)ios_getListLand { - (void)ios_getListLand {
NSString *status = [[CGUserManager shared].appSwitch[@"isopenH5"] stringValue];
NSLog(@"isopenH5 = %@", status);
if (status.length > 0) {
[[self ufw] sendMessageToGOWithName: "GameManager" functionName: "showMoreInfo" message: [status UTF8String]];
}
[[CGNetworkTools shared] getWithAction: getPlaceList parameters: @{} success:^(id _Nonnull response) { [[CGNetworkTools shared] getWithAction: getPlaceList parameters: @{} success:^(id _Nonnull response) {
if ([[response objectForKey:@"status"] integerValue] == 200) { if ([[response objectForKey:@"status"] integerValue] == 200) {
...@@ -274,11 +289,6 @@ NSDictionary* appLaunchOpts; ...@@ -274,11 +289,6 @@ NSDictionary* appLaunchOpts;
}]; }];
NSString *status = [[CGUserManager shared].appSwitch[@"isopenH5"] stringValue];
NSLog(@"isopenH5 = %@", status);
if (status.length > 0) {
[[self ufw] sendMessageToGOWithName: "GameManager" functionName: "showMoreInfo" message: [status UTF8String]];
}
} }
// 解锁地块 // 解锁地块
......
This diff is collapsed.
...@@ -23,7 +23,6 @@ int main(int argc, char* argv[]) ...@@ -23,7 +23,6 @@ int main(int argc, char* argv[])
@autoreleasepool @autoreleasepool
{ {
id ufw = UnityFrameworkLoad(); id ufw = UnityFrameworkLoad();
[ufw setDataBundleId: "com.unity3d.framework"];
[ufw runUIApplicationMainWithArgc: argc argv: argv]; [ufw runUIApplicationMainWithArgc: argc argv: argv];
return 0; return 0;
} }
......
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
<key>Unity-iPhone.xcscheme_^#shared#^_</key> <key>Unity-iPhone.xcscheme_^#shared#^_</key>
<dict> <dict>
<key>orderHint</key> <key>orderHint</key>
<integer>5</integer> <integer>6</integer>
</dict> </dict>
<key>UnityFramework.xcscheme_^#shared#^_</key> <key>UnityFramework.xcscheme_^#shared#^_</key>
<dict> <dict>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment