add: functions for enemy managment in GameController add: LevelController now pops enemies
13 lines
317 B
C#
13 lines
317 B
C#
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);
|
|
}
|
|
}
|