Unity New Input System Get Button Down

[Solved] Unity New Input System Get Button Down | Vb - Code Explorer | yomemimo.com
Question : unity input system

Answered by : concerned-curlew

private void OnEnable()
{	playerInput = GetComponent<PlayerInput>(); playerInput.actions["Action"].performed += HandleAction
}
private void Update() {	value = playerInput.actions["Value"].ReadValue<Vector2>();
}
private void HandleAction(InputAction.CallbackContext context)
{	HandleJump();
}

Source : | Last Update : Wed, 23 Mar 22

Answers related to unity new input system get button down

Code Explorer Popular Question For Vb