Skip to content

Instantly share code, notes, and snippets.

using UnityEngine;
using System.Collections;
public class WaveSpawner : MonoBehaviour {
public enum SpawnState { SPAWNING, WAITING, COUNTING };
[System.Serializable]
public class Wave {
public string name;//name of the wave
using UnityEngine;
using System.Collections;
public class SmoothCamFollow : MonoBehaviour {
public GameObject target;
public float smooth;
public Vector3 position;
public Quaternion rotation;