Implement enemy spawning and following waypoints
This commit is contained in:
26
Assets/Scripts/Data/Wave.cs
Normal file
26
Assets/Scripts/Data/Wave.cs
Normal file
@@ -0,0 +1,26 @@
|
||||
using Sirenix.OdinInspector;
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
[Serializable]
|
||||
public class Wave
|
||||
{
|
||||
[HorizontalGroup("Split", width: 130)]
|
||||
[VerticalGroup("Split/Left")]
|
||||
[Title("Time To Next Wave")]
|
||||
[HideLabel]
|
||||
[SerializeField]
|
||||
public float timeToNextWave = 60;
|
||||
|
||||
[Title("Time To Next Group")]
|
||||
[HideLabel]
|
||||
[VerticalGroup("Split/Left")]
|
||||
[SerializeField]
|
||||
public float timeToNextGroup = 1;
|
||||
|
||||
[VerticalGroup("Split/Right")]
|
||||
[SerializeField]
|
||||
public WaveGroup[] groups = new WaveGroup[0];
|
||||
}
|
||||
Reference in New Issue
Block a user