Create spawn script
This commit is contained in:
22
Assets/Scripts/SpawnManager.cs
Normal file
22
Assets/Scripts/SpawnManager.cs
Normal file
@@ -0,0 +1,22 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
public class SpawnManager : MonoBehaviour
|
||||
{
|
||||
|
||||
public List<GameObject> enemyList = new List<GameObject>();
|
||||
public List<Transform> spawnPoints = new List<Transform>();
|
||||
|
||||
// Start is called before the first frame update
|
||||
void Start()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
// Update is called once per frame
|
||||
void Update()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
11
Assets/Scripts/SpawnManager.cs.meta
Normal file
11
Assets/Scripts/SpawnManager.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 026c6e653b360054c810b7a5e15f8232
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
Reference in New Issue
Block a user