You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
CrowdControl/Assets/3rd/D2D_Scripts/Gameplay/Spawners/TimeSpawnTrigger.cs

16 lines
306 B
C#

3 months ago
using System;
using D2D.Utils;
using UnityEngine;
namespace D2D.Gameplay
{
public class TimeSpawnTrigger : SpawnTrigger
{
[SerializeField] private float _delayBetweenSpawns;
private void Start()
{
Invoke(nameof(Trigger), _delayBetweenSpawns);
}
}
}