diff --git a/Assets/Scripts/GameManager.cs b/Assets/Scripts/GameManager.cs index a416099..619dc7f 100644 --- a/Assets/Scripts/GameManager.cs +++ b/Assets/Scripts/GameManager.cs @@ -1,22 +1,8 @@ -<<<<<<< Updated upstream using System.Collections.Generic; -======= -using Unity.VisualScripting; ->>>>>>> Stashed changes using UnityEngine; public class GameManager : MonoBehaviour { - public startGame - { - if GameMode = GameMode.freeForAll( - Start freeForAll) - if GameMode = GameMode.freeForAll( - Start freeForAll) - if GameMode = GameMode.freeForAll( - Start freeForAll); - } - public enum GameMode { freeForAll, @@ -39,4 +25,12 @@ public class GameManager : MonoBehaviour player.transform.position = spawnPosition; } } + + public void StartGame() + { + if (gameMode == GameMode.freeForAll) + { + // Start free for all game + } + } }