Add party to lobby menu
This commit is contained in:
1 parent
8529ebb4a9
commit
9250b7b5dd
13 files changed
+4207
-1078
No files matched your search
@@ -62,6 +62,19 @@ public class GameManager : NetworkBehaviour
|
||||
networkManager.StartHost();
|
||||
}
|
||||
|
||||
public void LeaveGame()
|
||||
{
|
||||
networkManager.Shutdown(true);
|
||||
//if (networkManager.IsHost)
|
||||
//{
|
||||
// networkManager.Shutdown(true);
|
||||
//}
|
||||
//else
|
||||
//{
|
||||
// networkManager.
|
||||
//}
|
||||
}
|
||||
|
||||
private void OnClientStarted()
|
||||
{
|
||||
OnConnected?.Invoke();
|
||||
|
||||
Reference in new issue
Block a user