Browse Source

z轴不缩放

zhaoyang 3 years ago
parent
commit
9f82ad2eb1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      GameClient/Assets/Game/HotUpdate/Views/DressUp/PhotographView.cs

+ 1 - 1
GameClient/Assets/Game/HotUpdate/Views/DressUp/PhotographView.cs

@@ -390,7 +390,7 @@ namespace GFGGame
         private void ControllerScale(float value, GameObject gameObject)
         {
             if (value > MaxScale || value < MinScale) return;
-            gameObject.transform.localScale = new Vector3(value, value, value);
+            gameObject.transform.localScale = new Vector3(value, value, 1);
             Vector2 size = SceneController.GetGameObjectSize(gameObject);
             _ui.m_comSelectBox.target.SetSize(size.x, size.y);
         }