add: Level and Game controllers base
update: scripts are now in folders
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using UnityEditor;
|
||||
using UnityEngine;
|
||||
using UnityEngine.SceneManagement;
|
||||
|
||||
public class GameController : MonoBehaviour
|
||||
{
|
||||
public List<LevelInfo> levels;
|
||||
}
|
||||
|
||||
[Serializable]
|
||||
public class LevelInfo {
|
||||
public SceneAsset scene;
|
||||
public List<EnemyInLevel> enemies;
|
||||
}
|
||||
|
||||
[Serializable]
|
||||
public class EnemyInLevel {
|
||||
public GameObject enemy;
|
||||
public int count;
|
||||
}
|
||||
Reference in New Issue
Block a user