added PlayerClass with Sync

This commit is contained in:
DerTyp187
2021-10-14 20:16:38 +02:00
parent e057a569a5
commit 666e4f479f
5 changed files with 65 additions and 1 deletions

View File

@@ -25,6 +25,7 @@ DEAD
*/
public class PlayerMaster : MonoBehaviour
{
[Header("PlayerMaster")]
[SerializeField] private List<GameObject> Players = new List<GameObject>(); //Contains All Players which are currently connected/in-game
[SerializeField] private List<int> Health = new List<int>();
[SerializeField] private List<int> Kills = new List<int>();