Skip to content

Commit

Permalink
Merge pull request #23 from aaasoft/main
Browse files Browse the repository at this point in the history
手柄控制增加按A键前进,B键后退的操作逻辑。
  • Loading branch information
aaasoft committed Jan 19, 2024
2 parents 3dbe4c0 + 775e81d commit 6b1ec19
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions Assets/Game/GamePlay/Scripts/BallManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -180,8 +180,8 @@ private void _InitKeys()
keyListener = KeyListener.Get(gameObject);
keyListener.DisableWhenUIFocused = false;
keyListener.ClearKeyListen();
keyListener.AddKeyListen(keyFront, _UpArrow_Key, GamepadButton.DpadUp);
keyListener.AddKeyListen(keyBack, _DownArrow_Key, GamepadButton.DpadDown);
keyListener.AddKeyListen(keyFront, _UpArrow_Key, GamepadButton.DpadUp, GamepadButton.A);
keyListener.AddKeyListen(keyBack, _DownArrow_Key, GamepadButton.DpadDown, GamepadButton.B);
keyListener.AddKeyListen(keyUp, _Up_Key, GamepadButton.LeftTrigger);
keyListener.AddKeyListen(keyDown, _Down_Key, GamepadButton.RightTrigger);
keyListener.AddKeyListen(keyUpCamera, _Space_Key, GamepadButton.Y);
Expand Down
6 changes: 3 additions & 3 deletions Assets/System/Scripts/Config/GameConst.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@ public static class GameConst
/// <summary>
/// 游戏版本
/// </summary>
public const string GameVersion = "1.0.4";
public const string GameVersion = "1.0.5";
/// <summary>
/// 游戏编译版本
/// </summary>
public const int GameBulidVersion = 163;
public const int GameBulidVersion = 164;
/// <summary>
/// 游戏编译版本
/// </summary>
public const string GameBulidDate = "2024.01.14";
public const string GameBulidDate = "2024.01.19";

#region Unity 环境静态常量

Expand Down
2 changes: 1 addition & 1 deletion ProjectSettings/ProjectSettings.asset
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ PlayerSettings:
16:10: 1
16:9: 1
Others: 1
bundleVersion: 1.0.4
bundleVersion: 1.0.5
preloadedAssets: []
metroInputSource: 0
wsaTransparentSwapchain: 0
Expand Down

0 comments on commit 6b1ec19

Please sign in to comment.