Added Movement stop on S key

dev-hazim
Hazim Bin Ijaz 1 week ago
parent 001cfa8651
commit 3fd839b155

@ -553,6 +553,10 @@ namespace Unity.BossRoom.Gameplay.UserInput
m_MoveRequest = true; // Accept movement request
}
if (Input.GetKeyDown(KeyCode.S) && m_ServerCharacter.Movement.IsMoving())
{
m_ServerCharacter.Movement.CancelMove();
}
if (!EventSystem.current.IsPointerOverGameObject() && m_CurrentSkillInput == null)
{
if (IsSwapModeActive && Input.GetMouseButtonDown(0)) // Left-click to request swap

Loading…
Cancel
Save