27 lines
596 B
C#
27 lines
596 B
C#
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];
|
|
}
|