Просмотр исходного кода

海外版:包名修改,微信隐藏

lvjincheng 3 лет назад
Родитель
Сommit
f2b0ce90a2

+ 6 - 0
Assets/BowArrow/Scripts/Editor/MenuChangeAppLanguage.cs

@@ -16,6 +16,9 @@ public class MenuChangeAppLanguage
         #if UNITY_IOS
         PlayerSettings.SetApplicationIdentifier(BuildTargetGroup.iOS, "com.xmjssvr.BowArrow");
         #endif
+        #if UNITY_ANDROID
+        PlayerSettings.SetApplicationIdentifier(BuildTargetGroup.Android, "com.xmjssvr.BowArrow.mi");
+        #endif
     }
 
     [MenuItem("APP语言版本切换/中文", true)]
@@ -32,6 +35,9 @@ public class MenuChangeAppLanguage
         #if UNITY_IOS
         PlayerSettings.SetApplicationIdentifier(BuildTargetGroup.iOS, "com.xmjssvr.BowArrowEn");
         #endif
+        #if UNITY_ANDROID
+        PlayerSettings.SetApplicationIdentifier(BuildTargetGroup.Android, "com.xmjssvr.BowArrowEn");
+        #endif
     }
 
     [MenuItem("APP语言版本切换/英文", true)]

+ 1 - 1
Assets/BowArrow/Scripts/Manager/LoginMgr/LoginView.cs

@@ -42,7 +42,7 @@ public class LoginView : MonoBehaviour
         {
             transform.Find("BtnForgetPWD").gameObject.SetActive(false); //隐藏忘记密码
         }
-        transform.Find("BtnWxLogin").gameObject.SetActive(Application.platform == RuntimePlatform.Android);
+        transform.Find("BtnWxLogin").gameObject.SetActive(Application.platform == RuntimePlatform.Android && CommonConfig.AppArea == 0);
     }
 
     void Start()