Moving to FishySteamworks

This commit is contained in:
Madhav Kapa
2023-06-01 10:17:45 -07:00
parent 4b3080af85
commit 0eea70ab4e
93 changed files with 13381 additions and 13053 deletions

View File

@ -19,6 +19,7 @@ public class SteamLobbyWithPlayer : MonoBehaviour
public Dictionary<SteamId, GameObject> inLobby = new();
public GameObject playerPrefab;
public GameObject NetworkManager;
private void Start()
{
DontDestroyOnLoad(this);
@ -48,6 +49,7 @@ public class SteamLobbyWithPlayer : MonoBehaviour
Debug.Log($"{friend.Name} joined the lobby");
GameObject obj = Instantiate(playerPrefab, Vector3.zero, Quaternion.identity);
inLobby.Add(friend.Id, obj);
}
private void OnLobbyMemberDisconnected(Lobby lobby, Friend friend)
{