This commit is contained in:
DerTyp187
2021-11-26 16:02:03 +01:00
parent 9cd80c86e0
commit 95219e730e
16 changed files with 679 additions and 387 deletions

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: a89988743206dad48b795c77ff2b011d
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,9 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Lobby : MonoBehaviour
{
[SerializeField]
public List<LobbyPlayer> LobbyPlayers = new List<LobbyPlayer>();
}

View File

@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: b6183dbb3c561ed44803ffda1c859dc9
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,12 @@
using Mirror;
using UnityEngine;
public class LobbyPlayer : NetworkBehaviour
{
private Lobby lobby = this.gameobject.getComponent<Lobby>();
public override void OnStartClient()
{
}
}

View File

@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 6947f097045a71a499212176b7475daf
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,9 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Lobby : MonoBehaviour
{
[SerializeField]
public List<LobbyPlayer> LobbyPlayers = new List<LobbyPlayer>();
}

View File

@@ -1,6 +1,5 @@
using Mirror;
using UnityEngine;
using UnityEngine.UI;
using TMPro;
public class MenuStartClient : MonoBehaviour