- Home /
Question by
Zahiro · Dec 07, 2016 at 10:35 AM ·
networkingmanager
Network.Disconnect doesn't do anything .
Hi, as the title says, nothing happens when i call Network.Disconnect . I have a simple button component attached on a text GameObject :
and i have the following code running when the client clicks on the text :
public void quitSessionButt () {
Network.Disconnect();
}
since this didn't work, i've tried to use it within the lobby/network manager script(without a button) with an invoke method . I've used Debug.Log's before and after Network.Disconnect . The method is called but nothing happens . Why?
button.jpg
(55.1 kB)
Comment