add: Level and Game controllers base
update: scripts are now in folders
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 775c6554dbb557740af9399208e5e947
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 6eda34b3d0947274d9f031e73ca44c4c
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -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;
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 21512d898f67c404d9a7519c0b7dcba8
|
||||
@@ -0,0 +1,8 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
public class LevelController : MonoBehaviour
|
||||
{
|
||||
public List<Transform> spawnPoints;
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 67f50dd8d32d83d4891b1a18fd12ec38
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: a78510d754bdf9543b0b23e65b4c14bb
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Reference in New Issue
Block a user