Browse Source

主界面

zhaoyang 2 years ago
parent
commit
4819757f17
1 changed files with 2 additions and 2 deletions
  1. 2 2
      GameClient/Assets/Game/HotUpdate/Views/MainUI/MainUIView.cs

+ 2 - 2
GameClient/Assets/Game/HotUpdate/Views/MainUI/MainUIView.cs

@@ -259,7 +259,7 @@ namespace GFGGame
             _ui.target.touchable = false;
             TryCompleteGuide();
 
-            GTween.To(0, -GRoot.inst.actualWidth / 100f, 1f)
+            GTween.To(0, -GRoot.inst.width / 100f, 1f)
             .SetTarget(_sceneObject)
             .OnUpdate((GTweener t) =>
             {
@@ -276,7 +276,7 @@ namespace GFGGame
         {
 
             _ui.target.touchable = false;
-            GTween.To(-GRoot.inst.actualWidth / 100f, 0f, 1f)
+            GTween.To(-GRoot.inst.width / 100f, 0f, 1f)
            .SetTarget(_sceneObject)
            .OnUpdate((GTweener t) =>
            {