Question by
wazapen · Nov 05, 2018 at 06:51 PM ·
androidevent triggeringhome button
Set KeyCode.Home pressed not just get it Script C# in Android
How can I set the action of pressing the home button?
I need to change the behavior of the back button.
The back button needs to do the same action of the home button.
void Update () {
if (Input.GetKeyDown(KeyCode.Escape)){
//Do what home button does :D
}
}
Comment