Files
dungeons/Assets/Scripts/Data/WaveGroup.cs

35 lines
698 B
C#

using Sirenix.OdinInspector;
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[Serializable]
public class WaveGroup
{
[SerializeField]
[AssetsOnly]
[Required]
public GameObject prefab;
[SerializeField]
[Range(1, 30)]
public int count = 1;
[SerializeField]
[Range(0, 30)]
[LabelText("Time to next")]
public float timeToNext = 1;
//[LabelText("1")]
//[HorizontalGroup(Title = "Waypoint group")]
//public bool inWaypointGroup1;
//[LabelText("2")]
//[HorizontalGroup]
//public bool inWaypointGroup2;
//[LabelText("3")]
//[HorizontalGroup]
//public bool inWaypointGroup3;
}