This question already has an answer here:
I have done the same thing in android natively by simply calling
onBackPressed().I've been trying to do the same thing in Unity with c#. there are classes like Input that handles inputs but does not have access to android's back button.I've also seen touch simulators and whatnots but I'm looking for something as simple as calling
this.onBackPressed().Please note that I'm not looking to capture back button press, I want to press back button from my code.