Hello everyone.
I'm developing a PC game with Unity and I have a code design question about the GUI. I'm trying to build an UI system for all my menus in games which gives you the available buttons you can press on this scree. It's like a bar at the bottom of the screen (see pictures attached), which changes every time you change screen and there are different buttons to press. The thing is, I have to switch between PC layout and controller layout. So for example if you plugin a controller it must show you the same actions, but mapped to the controller buttons (see pic ),
[attachment=35509:console.png]
and if you press the keyboard or use the mouse it automatically switch to PC actions (see pic).
[attachment=35508:pc.png]
This kind of bar must be maintained valid every time the gui is on screen and so it should "listen" to all the available inputs and mapped actions.
First of all: do this kind of bar has a common name (so I can look for example myself)? Do you know if there is well known pattern to implement this?
Thanks guys!