//before
public void OnSkillMouseLeft(InputAction.CallbackContext context)
{
if (isMelee)
{
if (context.performed)
{
if (inputQueues[InputType.ML3].Count == 1 && comboOneTimer <= 0f)
{
inputQueues[InputType.ML3].Clear();

comboOneTimer = playerStats.ComboOneTime;
motionCancelTimer = playerStats.MotionCancelTime;

TimerManager.Instance.StartTimer(comboThreeTimer, () =>
{
UseSkill(InputType.ML3);
actionTimer = playerStats.ComboOneTime;
});
}

if (inputQueues[InputType.ML2].Count == 1 && comboThreeTimer <= 0f)
{
inputQueues[InputType.ML2].Clear();
EnqueueInput(InputType.ML3);

comboThreeTimer = playerStats.ComboThreeTime;

TimerManager.Instance.StartTimer(comboTwoTimer, () =>
{
UseSkill(InputType.ML2);
actionTimer = playerStats.ComboThreeTime;
});
}

if (comboOneTimer <= 0f && comboTwoTimer <= 0f && comboThreeTimer <= 0f)
{
EnqueueInput(InputType.ML2);

comboTwoTimer = playerStats.ComboTwoTime;

UseSkill(InputType.ML1);
actionTimer = playerStats.ComboTwoTime;
}
}
}
}


//after


public void OnSkillMouseLeft(InputAction.CallbackContext context)
{
if (isMelee)
{
switch (context.phase)
{
case InputActionPhase.Performed:
isMouseLeftPress = true;
break;
case InputActionPhase.Canceled:
isMouseLeftPress = false;
break;
}
}
}



1e99ef77b49c3faf689fe8b115ef046cdcf425f30fa2de



22
말도 μ•ˆ 되게 짰던 μ½”λ“œ κ°ˆμ•„μ—ŽλŠ”λ° μ‹œκ°„ λ‹€ 빨리고 있음