Pretty new to Unity. Actually, a month in.
Doing networking for my game and working with the user interface.
I have a drop down button. That has a script attached to it. That will generate children on the fly depending on an event occurring (lets say a rollover). It generates the room names currently available simulating a lobby. The children class has an instance variable room name which is the name of the button generated which relates to the roomlist.
I am a bit stuck on how to grab that button name / room name on the click of one of those children buttons to join a room.
Any help or advice would be greatly appreciated.
Thanks