Search Unity

4.6 tickbox showing over PUN network

Discussion in 'Immediate Mode GUI (IMGUI)' started by dannyhodge, Oct 25, 2014.

  1. dannyhodge

    dannyhodge

    Joined:
    Mar 14, 2013
    Posts:
    30
    Hey guys :)
    So, I have a lobby which has a tickbox for each player. When everyone in the lobby has ticked their tickbox, the game starts. It technically works - once everyone has clicked their own box, the game does start. (when I say tickbox, i mean the toggle thing from the 4.6 GUI, but lets face it, it is a tickbox).

    The problem, however, is that you can't see that the tickbox has been selected by anyone else, which is a bit of a pain, to say the least.

    Now, i'm pretty new to networking in programming, but I think I would be able to do this through an RPC call, but I'm not entirely certain how to update a GUI component with that.

    So, any suggestions would be pretty awesome.

    Thanks,
    Danny