system
1
i want to make 2 buttons one to host a party (lan) and the other the search for a party(also lan)but i dont know how to do that.
You can get the NetworkManagerHUD Source Code, then copy it into a new script and edit that. But…
Looking through that source code you’ll probably see that it’s really just calling a few basic functions on the NetworkManager. I would highly recommend writing your own. The NetworkManagerHUD is mostly just for testing, and is primarily a single-purpose UI built on the old ImGUI API, and would be more of an annoyance really to turn into anything that resembles a decent menu, especially if you adapt it with intermediate testing code right now.
I would take this opportunity to start on a really rough menu with the new UI components and build from there. Not only will it save you work down the line, but it’s generally easier to test things this way, as you never have to wade through a mess of ImGUI code to find what you’re looking for, and just having a menu at all will just be easier on the eyes and feel smoother than the tiny buttons the current hud crams in the corner of the screen.