zhaoyang 3 жил өмнө
parent
commit
83862a11f7

+ 1 - 1
GameClient/Assets/Game/HotUpdate/GameGlobal.cs

@@ -53,7 +53,7 @@ namespace GFGGame
 
                 string resPath = ResPathUtil.GetViewEffectPath("ui_dj", "ui_dj");
                 SceneController.AddObjectToView(_gameObj, _wrapper, comHolder.m_holder, resPath, out _gameObj, out _wrapper);
-                GRoot.inst.onClick.Add(SetClickPos);
+                GRoot.inst.onTouchBegin.Add(SetClickPos);
             }
         }
         private static void SetClickPos()