Add party to lobby menu

This commit is contained in:
xio committed 2024-09-09 20:21:03 +02:00
1 parent 8529ebb4a9
commit 9250b7b5dd
13 files changed
+4207 -1078

No files matched your search

+13
View File
@@ -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();