Hi,
Is there a possible way I can make the button menu element visible but not clickable? I intend to click it through an actionlist "select menu element" then "simulate click"
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
If your Menu relies on Unity UI, your Button element's When invisible field can be set to Disable Interactability. Making the Button invisible will then cause the Button to be non-interactable.
Alternatively, attaching a Canvas Group to the Button's GameObject, and unchecking Interactable will have the same effect, but doesn't require the Button to be affected.
Is it possible to do it using AC menu? I always prefer to stick with AC.
However, I tried the unity UI approach, the issue is everytime I hide and show the menu element the button becomes Interactable again.
I simply want to navigate through AC document with the D-pad and shift pages with it rather than pressing a button to shift to the next page. I've done it successfully using an active input with menu select element. Only issue is I can still navigate between the buttons and be able to press the buttons to shift to next page as well.
Thanks for the explanation.
With Unity UI: I'd say go with the Canvas Group approach, rather than "hiding" the Button to control its Interactablity.
With AC: you can't prevent individual elements from being directly-navigable, but you could keep the Button hidden by default, and then show it as part of your Active Input's ActionList, then hide it again after the simulated input call. A Graphic element or similar in the Button's place could be used to mask the Button being shown/hidden.