Prechádzať zdrojové kódy

ios开放验证功能,语言切换,连接模块后鸭子游戏也要禁止点屏幕射击

lvjincheng 2 rokov pred
rodič
commit
8da461adc6

+ 4 - 2
Assets/BowArrow/Scripts/CommonConfig.cs

@@ -20,9 +20,11 @@ public class CommonConfig
     //根据产品名决定默认语言
     public static int AppLanguage { get => AppArea; }
     //禁止语言切换(ios安全上架)
-    public static bool banLanguageChangeSwitch { get => Application.platform ==  RuntimePlatform.IPhonePlayer; }
+    // public static bool banLanguageChangeSwitch { get => Application.platform ==  RuntimePlatform.IPhonePlayer; }
+    public static bool banLanguageChangeSwitch { get => false; }
     //禁止绑定关联账号的相关功能(找回密码,注册界面绑定手机邮箱,个人界面绑定手机邮箱)
-    public static bool banBindRelateAccount { get => Application.platform == RuntimePlatform.IPhonePlayer; }
+    // public static bool banBindRelateAccount { get => Application.platform == RuntimePlatform.IPhonePlayer; }
+    public static bool banBindRelateAccount { get => false; }
     public static bool iosTaoKe = false; //IOS套壳开关
     public static bool ReleaseVersion2 = true;
     /*

+ 2 - 0
Assets/BowArrow/Views/LoginScene/RelateValidateView/RelateValidateView.prefab

@@ -162,6 +162,7 @@ MonoBehaviour:
   m_EditorClassIdentifier: 
   inputField: {fileID: 0}
   moveRect: {fileID: 0}
+  noTransparentOnFocused: {fileID: 6595816667113240025}
 --- !u!1 &6595816667194009997
 GameObject:
   m_ObjectHideFlags: 0
@@ -402,6 +403,7 @@ MonoBehaviour:
   m_EditorClassIdentifier: 
   inputField: {fileID: 0}
   moveRect: {fileID: 0}
+  noTransparentOnFocused: {fileID: 6595816667226274577}
 --- !u!1 &6595816667314462837
 GameObject:
   m_ObjectHideFlags: 0

+ 1 - 1
Assets/DuckHunter/Scripts/GameManager.cs

@@ -67,7 +67,7 @@ namespace DuckHunter
 
         void UpdateCheckMouseHit()
         {
-            if (Input.GetMouseButtonDown(0))
+            if (Input.GetMouseButtonDown(0) && BowCamera.isTouchMode)
             {
                 if (EventSystem.current.currentSelectedGameObject == null)
                 {