From 8876e348ab75183282fe2442f8a43d094c12dec0 Mon Sep 17 00:00:00 2001
From: chenxin <chenxin6991@163.com>
Date: Wed, 18 Nov 2020 13:50:14 +0800
Subject: [PATCH] 玉米最后一发子弹没伤害 火技能攻速问题

---
 Assets/Scripts/Core/Camera/ViewPortAdj.cs |   20 ++++++++++----------
 1 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/Assets/Scripts/Core/Camera/ViewPortAdj.cs b/Assets/Scripts/Core/Camera/ViewPortAdj.cs
index dc51868..032c369 100644
--- a/Assets/Scripts/Core/Camera/ViewPortAdj.cs
+++ b/Assets/Scripts/Core/Camera/ViewPortAdj.cs
@@ -14,16 +14,16 @@
 
     public void adjViewportRect()
     {
-        float wscale = 1080f/Screen.width;
-        // River: 动态的处理ViewPortRect.
-        float vpscale = (1920f / wscale / Screen.height);
-        Rect vpRect = new Rect();
-        vpRect.x = 0.0f;
-        vpRect.y = (1.0f - vpscale) / 2.0f;
-        vpRect.width = 1f;
-        vpRect.height = vpscale;
-        cachedCamera.rect = vpRect;
-        bAdjViewPort = true;
+        //float wscale = 1080f/Screen.width;
+        //// River: 动态的处理ViewPortRect.
+        //float vpscale = (1920f / wscale / Screen.height);
+        //Rect vpRect = new Rect();
+        //vpRect.x = 0.0f;
+        //vpRect.y = (1.0f - vpscale) / 2.0f;
+        //vpRect.width = 1f;
+        //vpRect.height = vpscale;
+        //cachedCamera.rect = vpRect;
+        //bAdjViewPort = true;
     }
 
     

--
Gitblit v1.9.1