question

shashchamp avatar image
shashchamp asked

kindle fire soft key search button does not work unity3d

My game is developed using Unity and when I press the softkey for search button from inside the game it doesn't show the search overlay. But other games which are not Unity based are able to show up the search overlay. In fact many games like Temple Run(which is unity based) is also having the same behaviour. Can someone tell me how to fix this.
fire tablet
10 |5000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

Bipin@Amazon avatar image
Bipin@Amazon answered
Hi, You can implement for monitoring KeyCode.F2, where you get call back on the event , when search is clicked Example: Search --> if (Input.GetKeyDown(KeyCode.F2)) { Debug.Log ("search button");} Back --> if (Input.GetKeyDown(KeyCode.Escape)) { Application.Quit(); }
10 |5000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.