[Solved]handle android hardware buttons

Hi, I have the following problem:

i need to implement handling android hardware buttons(press and release back, menu, etc. buttons)

I’ve seen topic on forum, explaining handling hardware buttons on update function. But it works on pressing button, not releasing.
How to implement doing some action on releasing button?

Closed. See Input.GetKeyUp

Input.GetKeyUp