- Home /
Question by
Snoozey · Apr 13, 2019 at 02:24 AM ·
inputmanagercrossplatform
How to use input manager on iOS
Hello, I'm trying to use "Cancel" from the input manager using crossplatforminput. I would like to assign a physical button on screen to be a menu button. Press the button and up comes the menu. If I turn off mobile input I can press escape and the menu will appear, but using the button doesn't work.
Any advice?
public void MenuButton()
{
if (CrossPlatformInputManager.GetButtonDown("Cancel"))
{
menu.SetActive(!menu.activeSelf);
}
Comment
Your answer
Follow this Question
Related Questions
CrossPlatformInputManager doesn't work on Android 0 Answers
Unity StandardAssets CrossPlatformInput (MobileInput Buttons) for Crouching issues 0 Answers
CrossPlatforminputManager errors despite all the files being in the project. 7 Answers
Multiple Players on one Computer/Console 5 Answers
Using InputManager problems? 1 Answer