I am trying to get rid of the old InputManager, but I can not find a way to get the Android back button pressed event by InputSystem.
The methods already tried:
- Keyboard.current.escapeKey.wasPressedThisFrame
- Keyboard.current.anyKey.wasPressedThisFrame
- InputAction Binding: Cancel[Any], Back[Any]
Thanks in advance!
Hi @SherryChaos
I see, this feature is not properly documented and is lacking in the InputSystem package. If escapeKey.wasPressedThisFrame is not working I fear there is currently no workaround. Can I ask you to open a bug ticket for this, it will be tackled as soon as possible.
I’m in the same boat. Tried all these different bindings you mentioned to no avail.
On Unity 2022.3.62f2 with Input System package v1.14.2. Not too sure how to proceed here. Has there been an update to this issue?