2026-05-18 부자연스러운 모션
This commit is contained in:
@@ -15,6 +15,7 @@ public class InputManager : MonoBehaviour, GameInput.IPlayerActions
|
||||
public event Action OnDash_Event;
|
||||
public event Action OnRoll_Event;
|
||||
public event Action OnBackDash_Event;
|
||||
public event Action OnGrabSmash_Event;
|
||||
|
||||
private void Awake()
|
||||
{
|
||||
@@ -77,4 +78,9 @@ public void OnBackDash(InputAction.CallbackContext ctx)
|
||||
OnBackDash_Event?.Invoke();
|
||||
}
|
||||
|
||||
public void OnGrabSmash(InputAction.CallbackContext ctx)
|
||||
{
|
||||
if (ctx.phase == InputActionPhase.Started)
|
||||
OnGrabSmash_Event?.Invoke();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user