Browse Source

ios版本针对性修改

gfgios 11 months ago
parent
commit
03e2c16c29

+ 1 - 1
GameClient/Assets/Game/HotUpdate/UGUI/UICGView.cs

@@ -78,7 +78,7 @@ namespace GFGGame
         {
         {
             Image buttonImage = btn.GetComponent<Image>();
             Image buttonImage = btn.GetComponent<Image>();
             //Image img = btn.GetComponentInChildren<Image>();
             //Image img = btn.GetComponentInChildren<Image>();
-            yield return new WaitForSeconds((float)videoPlayer.length - 3f);
+            yield return new WaitForSeconds(39 - 3f);
             if (buttonImage != null)
             if (buttonImage != null)
             {
             {
                 // 获取初始颜色
                 // 获取初始颜色

+ 1 - 1
GameClient/Assets/Game/Launcher/LauncherConfig.cs

@@ -97,7 +97,7 @@ namespace GFGGame
             ChannelId = (int)ChannelID.GFG;
             ChannelId = (int)ChannelID.GFG;
 #elif PT_IosLocal
 #elif PT_IosLocal
             netType = EnumNetType.PUBLIC;
             netType = EnumNetType.PUBLIC;
-            cfgName = "cfg_iosLocal";
+            cfgName = "cfg_ios";
             platformId = 2;
             platformId = 2;
             isUseDouYouIos = "1";
             isUseDouYouIos = "1";
             ChannelId = (int)ChannelID.GFG;
             ChannelId = (int)ChannelID.GFG;

+ 27 - 25
GameClient/ProjectSettings/ProjectSettings.asset

@@ -389,31 +389,6 @@ PlayerSettings:
   - m_BuildTarget: iPhone
   - m_BuildTarget: iPhone
     m_Icons:
     m_Icons:
     - m_Textures: []
     - m_Textures: []
-      m_Width: 180
-      m_Height: 180
-      m_Kind: 0
-      m_SubKind: iPhone
-    - m_Textures: []
-      m_Width: 120
-      m_Height: 120
-      m_Kind: 0
-      m_SubKind: iPhone
-    - m_Textures: []
-      m_Width: 167
-      m_Height: 167
-      m_Kind: 0
-      m_SubKind: iPad
-    - m_Textures: []
-      m_Width: 152
-      m_Height: 152
-      m_Kind: 0
-      m_SubKind: iPad
-    - m_Textures: []
-      m_Width: 76
-      m_Height: 76
-      m_Kind: 0
-      m_SubKind: iPad
-    - m_Textures: []
       m_Width: 120
       m_Width: 120
       m_Height: 120
       m_Height: 120
       m_Kind: 3
       m_Kind: 3
@@ -483,6 +458,33 @@ PlayerSettings:
       m_Height: 1024
       m_Height: 1024
       m_Kind: 4
       m_Kind: 4
       m_SubKind: App Store
       m_SubKind: App Store
+    - m_Textures:
+      - {fileID: 0}
+      m_Width: 180
+      m_Height: 180
+      m_Kind: 0
+      m_SubKind: iPhone
+    - m_Textures:
+      - {fileID: 0}
+      m_Width: 120
+      m_Height: 120
+      m_Kind: 0
+      m_SubKind: iPhone
+    - m_Textures: []
+      m_Width: 167
+      m_Height: 167
+      m_Kind: 0
+      m_SubKind: iPad
+    - m_Textures: []
+      m_Width: 152
+      m_Height: 152
+      m_Kind: 0
+      m_SubKind: iPad
+    - m_Textures: []
+      m_Width: 76
+      m_Height: 76
+      m_Kind: 0
+      m_SubKind: iPad
   m_BuildTargetBatching: []
   m_BuildTargetBatching: []
   m_BuildTargetSecurityBuild: []
   m_BuildTargetSecurityBuild: []
   m_BuildTargetGraphicsJobs:
   m_BuildTargetGraphicsJobs: