So quick background, I am working on putting together my first 2D networked multiplayer game (not first unity game). On the player’s display I would like to show a clickable, possibly right clickable too, icon or info card representing all the other characters (player and non-player) in the area with which the the player can interact, attack, etc. I here is a simple example of this card I for clarity.
Really my question here would be if there is a more built in way to do the UI piece of this than what I am currently doing. Right now I am using a game object with a sprite render for the player picture, then I am attaching a game object to that with a script that uses IMGUI to add in the text and status bars.
What I am not clear on is if there is a good way to make this a clickable button? Maybe add a collider to game object, or is there a way I can do all this with a GUI button that I have missed? Also layout, is there anything built in to unity to get these objects to lay out in a list box manner, or do I need to script something custom to do that?
Thanks, this is why I asked. I thought that there was probably a better way to do it, but I am still not used to what all is available in the new UI tools. Thanks for pointing me in the right direction and answering what ultimately ended up to be a rather silly question.
Sometimes the best place to hide information from me is right in front of my face