Moving to FishySteamworks
This commit is contained in:
@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user