From cee8cad6922de9c867b29556d2e5ebfac650cf32 Mon Sep 17 00:00:00 2001
From: cehua_ZMY <1417318640@qq.com>
Date: 星期六, 15 六月 2019 15:27:35 +0800
Subject: [PATCH] 12345 翅膀位置修改
---
Assets/Editor/XCodeProjectMod.cs | 11 +++++------
1 files changed, 5 insertions(+), 6 deletions(-)
diff --git a/Assets/Editor/XCodeProjectMod.cs b/Assets/Editor/XCodeProjectMod.cs
index 3109336..05c1f74 100644
--- a/Assets/Editor/XCodeProjectMod.cs
+++ b/Assets/Editor/XCodeProjectMod.cs
@@ -125,9 +125,9 @@
//鍦ㄦ寚瀹氫唬鐮佸悗闈㈠鍔犱竴琛屼唬鐮�
_xclass.WriteBelow("#include \"PluginBase/AppDelegateListener.h\"", "#include \"UniversalSDK.h\"\n#include \"JPushService.h\"\n");
- if(_isMr)
+ if (_isMr)
{
- _xclass.WriteBelow("#include \"PluginBase/AppDelegateListener.h\"","#include \"IAPManager.h\"\n");
+ _xclass.WriteBelow("#include \"PluginBase/AppDelegateListener.h\"", "#include \"IAPManager.h\"\n");
}
string newCode = "\n" +
@@ -138,21 +138,20 @@
newCode);
newCode = "\n" +
- " [[IAPManager shared] startManager];\n" +
" _universalSDK = [[UniversalSDK alloc] init];\n" +
" [_universalSDK JPushInit:launchOptions];";
//鍦ㄦ寚瀹氫唬鐮佸悗闈㈠鍔犱竴澶ц浠g爜
_xclass.WriteBelow("[KeyboardDelegate Initialize];", newCode);
-
- if(_isMr)
+
+ if (_isMr)
{
_xclass.WriteBelow("[KeyboardDelegate Initialize];", " [[IAPManager shared] startManager];\n");
}
_xclass.WriteBelow("UnitySendDeviceToken(deviceToken);", " [JPUSHService registerDeviceToken:deviceToken];");
- if(_isMr)
+ if (_isMr)
{
_xclass.WriteBelow("SensorsCleanup();", " [[IAPManager shared] stopManager];");
}
--
Gitblit v1.8.0