// Use this for initialization void Start() { //GameStateMachine.currentGameMode = GameStateMachine.GameMode.multiPlayer; //GameStateMachine.currentGameMode = GameStateMachine.GameMode.singlePlayer; if (GameStateMachine.currentGameMode == GameStateMachine.GameMode.singlePlayer) { if (PlayerDatabase.players.Count == 0) { PlayerDatabase.initSingle(); } GameStateMachine.initSingle(); EnemyDatabase.init(); NodeDatabase.init(); loaded = true; } else if (GameStateMachine.currentGameMode == GameStateMachine.GameMode.multiPlayer) { GameStateMachine.initMulti(); PlayerDatabase.initMulti(); loaded = true; } }