Search Unity

Making custom net HUD issues - Need Help Badly!

Discussion in 'Multiplayer' started by Bill_Martini, Jun 7, 2017.

  1. Bill_Martini

    Bill_Martini

    Joined:
    Apr 19, 2016
    Posts:
    445
    I'm new to Unity Networking. I've completed the networking tutorial and gained a general understanding of how things work. I'm pretty fuzzy about everything so far and struggling to work through issues one at a time.

    I've started by a custom HUD that fits the theme of my game. The docs recommend creating your own also. So far I'm able to connect as host or client or server and disconnect.

    In the Unity GUI HUD script, if you select to join as Client and no server exists the GUI interface switches back to the original layout after a timeout. How do I detect the timeout to switch my custom layout back. I don't seem to be able to get any of the network callbacks, is there something I need to do to get callbacks?

    I need to detect the timeout to solve my current issue, but I think I'm going to need to get all callbacks eventually. What's the trick?