add: DontDestroyOnLoad on GameController
add: functions for enemy managment in GameController add: LevelController now pops enemies
This commit is contained in:
@@ -1,8 +1,12 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
using UnityEngine.SceneManagement;
|
||||
|
||||
public class LevelController : MonoBehaviour
|
||||
{
|
||||
public List<Transform> spawnPoints;
|
||||
|
||||
public void Start() {
|
||||
Dictionary<Enemy, int> enemies = GameController.i.PopEnemies(SceneManager.GetActiveScene().name);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user